six¶
Module: six
¶
Inheritance diagram for nitime.six
:
Utilities for writing code that runs on Python 2 and 3
Classes¶
Module_six_moves_urllib
¶
-
class
nitime.six.
Module_six_moves_urllib
¶ Bases:
module
Create a six.moves.urllib namespace that resembles the Python 3 namespace
-
__init__
()¶ x.__init__(...) initializes x; see help(type(x)) for signature
-
error
= <module 'nitime.six.moves.urllib_error' (built-in)>¶
-
parse
= <module 'nitime.six.moves.urllib_parse' (built-in)>¶
-
request
= <module 'nitime.six.moves.urllib_request' (built-in)>¶
-
response
= <module 'nitime.six.moves.urllib_response' (built-in)>¶
-
robotparser
= <module 'nitime.six.moves.urllib_robotparser' (built-in)>¶
-
Functions¶
-
nitime.six.
add_metaclass
(metaclass)¶ Class decorator for creating a class with a metaclass.
-
nitime.six.
add_move
(move)¶ Add an item to six.moves.
-
nitime.six.
iteritems
(d, **kw)¶ Return an iterator over the (key, value) pairs of a dictionary.
-
nitime.six.
iterkeys
(d, **kw)¶ Return an iterator over the keys of a dictionary.
-
nitime.six.
iterlists
(d, **kw)¶ Return an iterator over the (key, [values]) pairs of a dictionary.
-
nitime.six.
itervalues
(d, **kw)¶ Return an iterator over the values of a dictionary.
-
nitime.six.
remove_move
(name)¶ Remove item from six.moves.
-
nitime.six.
with_metaclass
(meta, *bases)¶ Create a base class with a metaclass.