Home | Trees | Indices | Help |
---|
|
Utilities for writing code that runs on Python 2 and 3
Version: 1.2.0
Author: Benjamin Peterson <benjamin@python.org>
|
|||
text_type unicode(string [, encoding[, errors]]) -> object |
|||
binary_type str(object) -> string |
|||
_LazyDescr | |||
MovedModule | |||
MovedAttribute | |||
_MovedItems Lazy loading of moved objects |
|||
Iterator |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
character |
|
||
|
|||
|
|||
|
|||
|
|
|||
PY3 = sys.version_info [0]== 3
|
|||
string_types = basestring,
|
|||
integer_types = int, long
|
|||
class_types = type, types.ClassType
|
|||
MAXSIZE = int((1 << 63)-1)
|
|||
_moved_attributes = [MovedAttribute("cStringIO", "cStringIO",
|
|||
moves | |||
_meth_func = "im_func"
|
|||
_meth_self = "im_self"
|
|||
_func_code = "func_code"
|
|||
_func_defaults = "func_defaults"
|
|||
_iterkeys = "iterkeys"
|
|||
_itervalues = "itervalues"
|
|||
_iteritems = "iteritems"
|
|||
get_method_function = operator.attrgetter(_meth_func)
|
|||
get_method_self = operator.attrgetter(_meth_self)
|
|||
get_function_code = operator.attrgetter(_func_code)
|
|||
get_function_defaults = operator.attrgetter(_func_defaults)
|
|||
BytesIO = StringIO.StringIO
|
|||
StringIO = StringIO.StringIO
|
|
_moved_attributes
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Mar 14 15:44:46 2013 | http://epydoc.sourceforge.net |