Classes | Functions | Variables
tornado::stack_context Namespace Reference

Classes

class  _StackContextWrapper
class  _State
class  ExceptionStackContext
class  NullContext
class  StackContext

Functions

def _nested
def wrap

Variables

tuple _state = _State()

Function Documentation

def tornado.stack_context._nested (   managers) [private]
Support multiple context managers in a single with-statement.

Copied from the python 2.6 standard library.  It's no longer present
in python 3 because the with statement natively supports multiple
context managers, but that doesn't help if the list of context
managers is not known until runtime.

Definition at line 239 of file stack_context.py.

Returns a callable object that will restore the current StackContext
when executed.

Use this whenever saving a callback to be executed later in a
different execution context (either in a different thread or
asynchronously in the same thread).

Definition at line 185 of file stack_context.py.


Variable Documentation

Definition at line 84 of file stack_context.py.



rosbridge_server
Author(s): Jonathan Mace
autogenerated on Mon Oct 6 2014 06:58:14