org.python.modules
Class errno
- java.lang.Object
-
- org.python.modules.errno
-
- All Implemented Interfaces:
- ClassDictInit
public class errno extends java.lang.Object implements ClassDictInit
The Python errno module. Errno constants can be accessed from Java code viaErrno, e.g. Errno.ENOENT.
-
-
Field Summary
Fields Modifier and Type Field and Description static PyString__doc__static PyObjecterrorcodeReverse mapping of codes to names.
-
Constructor Summary
Constructors Constructor and Description errno()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method and Description static voidclassDictInit(PyObject dict)static PyObjectstrerror(PyObject code)Deprecated.Use jnr.constants.platform.Errno.valueOf(code).toString() (or os.strerror from Python) instead.
-
DMelt 3.0 © DataMelt by jWork.ORG