errno (Jython API documentation)
Date: 2012-08-13

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.python.modules
Class errno

    java.lang.Object
      org.python.modules.errno

All Implemented Interfaces:
  ClassDictInit

    public class errno

extends Object
implements ClassDictInit

The Python errno module. Errno constants can be accessed from Java code via `Errno`, e.g. Errno.ENOENT.

Field Summary
`static PyString` | `__doc__`
`static PyObject` | `errorcode` Reverse mapping of codes to names.

Constructor Summary
`errno()`

Method Summary
`static void` | `classDictInit(PyObject dict)`
`static PyObject` | `strerror(PyObject code)` Deprecated. Use org.python.core.constantine.Errno.valueOf(code).toString() (or os.strerror from Python) instead.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### __doc__

    public static final PyString __doc__

### errorcode

    public static final PyObject errorcode

  Reverse mapping of codes to names.

Constructor Detail

### errno

    public errno()

Method Detail

### classDictInit

    public static void classDictInit(PyObject dict)

### strerror

    @Deprecated
    public static PyObject strerror(PyObject code)

  Deprecated. Use org.python.core.constantine.Errno.valueOf(code).toString() (or os.strerror from Python) instead.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Jython homepage