Home | Trees | Indices | Help |
|
---|
|
Utilities for writing code that runs on Python 2 and 3
Version: 1.5.2
Author: Benjamin Peterson <benjamin@python.org>
|
|||
text_type unicode(string [, encoding[, errors]]) -> object |
|||
binary_type str(object) -> string |
|||
_LazyDescr | |||
MovedModule | |||
_LazyModule | |||
MovedAttribute | |||
_MovedItems Lazy loading of moved objects |
|||
Module_six_moves_urllib_parse Lazy loading of moved objects in six.moves.urllib_parse |
|||
Module_six_moves_urllib_error Lazy loading of moved objects in six.moves.urllib_error |
|||
Module_six_moves_urllib_request Lazy loading of moved objects in six.moves.urllib_request |
|||
Module_six_moves_urllib_response Lazy loading of moved objects in six.moves.urllib_response |
|||
Module_six_moves_urllib_robotparser Lazy loading of moved objects in six.moves.urllib_robotparser |
|||
Module_six_moves_urllib Create a six.moves.urllib namespace that resembles the Python 3 namespace |
|||
Iterator |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
character |
|
||
character |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
PY2 = sys.version_info [0]== 2
|
|||
PY3 = sys.version_info [0]== 3
|
|||
string_types = basestring,
|
|||
integer_types = int, long
|
|||
class_types = type, types.ClassType
|
|||
none_type = types.NoneType
|
|||
boolean_type = types.BooleanType
|
|||
int_type = types.IntType
|
|||
long_type = types.LongType
|
|||
float_type = types.FloatType
|
|||
list_type = types.ListType
|
|||
tuple_type = types.TupleType
|
|||
dictionary_type = types.DictionaryType
|
|||
MAXSIZE = int((1 << 63)-1)
|
|||
_moved_attributes = [MovedAttribute("cStringIO", "cStringIO",
|
|||
moves | |||
_urllib_parse_moved_attributes = [MovedAttribute("ParseResult"
|
|||
_urllib_error_moved_attributes = [MovedAttribute("URLError", "
|
|||
_urllib_request_moved_attributes = [MovedAttribute("urlopen",
|
|||
_urllib_response_moved_attributes = [MovedAttribute("addbase",
|
|||
_urllib_robotparser_moved_attributes = [MovedAttribute("RobotF
|
|||
_meth_func = "im_func"
|
|||
_meth_self = "im_self"
|
|||
_func_closure = "func_closure"
|
|||
_func_code = "func_code"
|
|||
_func_defaults = "func_defaults"
|
|||
_func_globals = "func_globals"
|
|||
_iterkeys = "iterkeys"
|
|||
_itervalues = "itervalues"
|
|||
_iteritems = "iteritems"
|
|||
_iterlists = "iterlists"
|
|||
get_method_function = operator.attrgetter(_meth_func)
|
|||
get_method_self = operator.attrgetter(_meth_self)
|
|||
get_function_closure = operator.attrgetter(_func_closure)
|
|||
get_function_code = operator.attrgetter(_func_code)
|
|||
get_function_defaults = operator.attrgetter(_func_defaults)
|
|||
get_function_globals = operator.attrgetter(_func_globals)
|
|||
BytesIO = StringIO.StringIO
|
|||
StringIO = StringIO.StringIO
|
|||
intern = __builtin__.intern
|
|||
file = __builtin__.file
|
|
_moved_attributes
|
_urllib_parse_moved_attributes
|
_urllib_error_moved_attributes
|
_urllib_request_moved_attributes
|
_urllib_response_moved_attributes
|
_urllib_robotparser_moved_attributes
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Oct 19 06:24:41 2014 | http://epydoc.sourceforge.net |