Classes | Functions | Variables
tornado::util Namespace Reference

Classes

class  ObjectDict

Functions

def b
def doctests
def import_object
def raise_exc_info

Variables

 bytes_type = bytes

Detailed Description

Miscellaneous utility functions.

Function Documentation

def tornado::util::b (   s)

Definition at line 40 of file util.py.

Definition at line 67 of file util.py.

Imports an object by name.

import_object('x.y.z') is equivalent to 'from x.y import z'.

>>> import tornado.escape
>>> import_object('tornado.escape') is tornado.escape
True
>>> import_object('tornado.escape.utf8') is tornado.escape.utf8
True

Definition at line 18 of file util.py.

def tornado.util.raise_exc_info (   exc_info)
Re-raise an exception (with original traceback) from an exc_info tuple.

The argument is a ``(type, value, traceback)`` tuple as returned by
`sys.exc_info`.

Definition at line 49 of file util.py.


Variable Documentation

Definition at line 42 of file util.py.



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