Utilities for writing code that runs on Python 2 and 3
Class decorator for creating a class with a metaclass. |
|
Add an item to six.moves. |
|
Byte literal |
|
Get the function out of a possibly unbound function |
|
Return an iterator over the (key, value) pairs of a dictionary. |
|
Return an iterator over the keys of a dictionary. |
|
Return an iterator over the (key, [values]) pairs of a dictionary. |
|
Return an iterator over the values of a dictionary. |
|
Remove item from six.moves. |
|
Reraise an exception. |
|
Text literal |
|
Create a base class with a metaclass. |
Lazy loading of moved objects |
|
Create a six.moves.urllib namespace that resembles the Python 3 namespace |
|
Lazy loading of moved objects in six.moves.urllib_error |
|
Lazy loading of moved objects in six.moves.urllib_parse |
|
Lazy loading of moved objects in six.moves.urllib_request |
|
Lazy loading of moved objects in six.moves.urllib_response |
|
Lazy loading of moved objects in six.moves.urllib_robotparser |
|
add_metaclass
(metaclass)¶Class decorator for creating a class with a metaclass.
add_move
(move)¶Add an item to six.moves.
b
(s)¶Byte literal
get_unbound_function
(unbound)¶Get the function out of a possibly unbound function
getexcobj
()¶isstring
(obj)¶iteritems
(d, **kw)¶Return an iterator over the (key, value) pairs of a dictionary.
iterkeys
(d, **kw)¶Return an iterator over the keys of a dictionary.
iterlists
(d, **kw)¶Return an iterator over the (key, [values]) pairs of a dictionary.
itervalues
(d, **kw)¶Return an iterator over the values of a dictionary.
keys
(dictObj)¶nextiter
(container)¶remove_move
(name)¶Remove item from six.moves.
reraise
(tp, value, tb=None)¶Reraise an exception.
u
(s)¶Text literal
values
(dictObj)¶with_metaclass
(meta, *bases)¶Create a base class with a metaclass.