|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.python.core.ContextGuard
public class ContextGuard
Straightens the call path for some common cases
Method Summary | |
---|---|
PyObject |
__enter__(ThreadState ts)
|
boolean |
__exit__(ThreadState ts,
PyException exception)
|
static ContextManager |
getManager(PyObject manager)
|
static PyObject |
makeManager(PyObject object)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public PyObject __enter__(ThreadState ts)
__enter__
in interface ContextManager
public boolean __exit__(ThreadState ts, PyException exception)
__exit__
in interface ContextManager
public static ContextManager getManager(PyObject manager)
public static PyObject makeManager(PyObject object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |