|
unicode
unicode(object='') -> unicode object unicode(string[, encoding[,
errors]]) -> unicode object
|
|
bytes
str(object='') -> string
|
|
base_string_types
Type basestring cannot be instantiated; it is the base for str and
unicode.
|
|
irange
xrange(stop) -> xrange object xrange(start, stop[, step]) ->
xrange object
|
|
imap
imap(func, *iterables) --> imap object
|
|
_LazyOverlayModule
proxy module which overlays original module, and lazily imports
specified attributes.
|
|
SafeConfigParser
|
|
__class__
proxy module which overlays original module, and lazily imports
specified attributes.
|
|
add_doc(obj,
doc)
add docstring to an object |
source code
|
|
|
|
|
|
unicode
|
|
string
|
join_bytes(S,
iterable)
Return a string which is the concatenation of the strings in the
iterable. |
source code
|
|
|
uascii_to_str(s)
helper to convert ascii unicode -> native str |
source code
|
|
|
bascii_to_str(s)
helper to convert ascii bytes -> native str |
source code
|
|
|
str_to_uascii(s)
helper to convert ascii native str -> unicode |
source code
|
|
|
str_to_bascii(s)
helper to convert ascii native str -> bytes |
source code
|
|
|
|
string
|
|
integer
|
byte_elem_value(c)
Return the integer ordinal of a one-character string. |
|
|
|
iter_byte_values(s)
iterate over byte string as sequence of ints 0-255 |
source code
|
|
|
iter_byte_chars(s)
iterate over byte string as sequence of 1-byte strings |
source code
|
|
list
|
lmap(function,
sequence,
sequence=...,
...)
Return a list of the results of applying the function to the items of
the argument sequence(s). |
|
|
|
|
|
|
|
next(iterator,
default=...)
Return the next item from the iterator. |
|
|
bool
|
callable(object)
Return whether the object is callable (i.e., some kind of function). |
|
|
|
exc_err()
return current error object (to avoid try/except syntax change) |
source code
|
|
|
get_method_function(func)
given (potential) method, return underlying function |
source code
|
|
|
print_(*args,
**kwds)
The new-style print function. |
source code
|
|
|
_import_object(source)
helper to import object from module; accept format `path.to.object` |
source code
|
|
|
BytesIO(s=...)
Return a StringIO-like stream for reading or writing |
|
|
|
NativeStringIO(s=...)
Return a StringIO-like stream for reading or writing |
|
|
|
|
|
|
|
|
|
|
a new object with type S, a subtype of T
|
|
|
|
|
|
|
|
int
|
__sizeof__()
size of object in memory, in bytes |
source code
|
|
|
|
|
PY2 = True
|
|
PY3 = False
|
|
PY_MAX_25 = False
|
|
PY27 = True
|
|
PY_MIN_32 = False
|
|
PYPY = False
|
|
JYTHON = False
|
|
SUPPORTS_DIR_METHOD = True
|
|
log = logging.getLogger(__name__)
|
|
int_types = ( <type 'int'>, <type 'long'>)
|
|
num_types = ( <type 'int'>, <type 'long'>, <type 'float'>)
|
|
next_method_attr = ' next '
|
|
_undef = object()
|
|
method_function_attr = ' im_func '
|
|
_lazy_attrs = { ' BytesIO ' : ' cStringIO.StringIO ' , ' NativeStringI ...
|
|
_LazyOverlayModule__attrmap = { ' BytesIO ' : ' cStringIO.StringIO ' ...
|
|
_LazyOverlayModule__log = logging.getLogger(__name__)
|
|
__delattr__ = <method-wrapper '__delattr__' of _LazyOverlayMod...
|
|
__dict__ = { ' BytesIO ' : <built-in function StringIO>, ' NativeSt ...
|
|
__getattribute__ = <method-wrapper '__getattribute__' of _Lazy...
|
|
__hash__ = <method-wrapper '__hash__' of _LazyOverlayModule ob...
|
|
__module__ = ' ldaptor.compat '
|
|
__package__ = ' ldaptor '
|
|
__setattr__ = <method-wrapper '__setattr__' of _LazyOverlayMod...
|
|
__str__ = <method-wrapper '__str__' of _LazyOverlayModule obje...
|
|
__weakref__ = None
hash(x)
|