six

Module: six

Inheritance diagram for nitime.six:

Inheritance diagram of 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__()

Initialize self. See help(type(self)) for accurate signature.

error = <module 'nitime.six.moves.urllib_error'>
parse = <module 'nitime.six.moves.urllib_parse'>
request = <module 'nitime.six.moves.urllib_request'>
response = <module 'nitime.six.moves.urllib_response'>
robotparser = <module 'nitime.six.moves.urllib_robotparser'>

Module_six_moves_urllib_error

class nitime.six.Module_six_moves_urllib_error

Bases: module

Lazy loading of moved objects in six.moves.urllib_error

__init__()

Initialize self. See help(type(self)) for accurate signature.

ContentTooShortError
HTTPError
URLError

Module_six_moves_urllib_parse

class nitime.six.Module_six_moves_urllib_parse

Bases: module

Lazy loading of moved objects in six.moves.urllib_parse

__init__()

Initialize self. See help(type(self)) for accurate signature.

ParseResult
parse_qs
parse_qsl
quote
quote_plus
unquote
unquote_plus
urldefrag
urlencode
urljoin
urlparse
urlsplit
urlunparse
urlunsplit

Module_six_moves_urllib_request

class nitime.six.Module_six_moves_urllib_request

Bases: module

Lazy loading of moved objects in six.moves.urllib_request

__init__()

Initialize self. See help(type(self)) for accurate signature.

AbstractBasicAuthHandler
AbstractDigestAuthHandler
BaseHandler
CacheFTPHandler
FTPHandler
FancyURLopener
FileHandler
HTTPBasicAuthHandler
HTTPCookieProcessor
HTTPDefaultErrorHandler
HTTPDigestAuthHandler
HTTPErrorProcessor
HTTPHandler
HTTPPasswordMgr
HTTPPasswordMgrWithDefaultRealm
HTTPRedirectHandler
HTTPSHandler
OpenerDirector
ProxyBasicAuthHandler
ProxyDigestAuthHandler
ProxyHandler
Request
URLopener
UnknownHandler
build_opener
getproxies
install_opener
pathname2url
url2pathname
urlcleanup
urlopen
urlretrieve

Module_six_moves_urllib_response

class nitime.six.Module_six_moves_urllib_response

Bases: module

Lazy loading of moved objects in six.moves.urllib_response

__init__()

Initialize self. See help(type(self)) for accurate signature.

addbase
addclosehook
addinfo
addinfourl

Module_six_moves_urllib_robotparser

class nitime.six.Module_six_moves_urllib_robotparser

Bases: module

Lazy loading of moved objects in six.moves.urllib_robotparser

__init__()

Initialize self. See help(type(self)) for accurate signature.

RobotFileParser

MovedAttribute

class nitime.six.MovedAttribute(name, old_mod, new_mod, old_attr=None, new_attr=None)

Bases: nitime.six._LazyDescr

__init__(name, old_mod, new_mod, old_attr=None, new_attr=None)

Initialize self. See help(type(self)) for accurate signature.

MovedModule

class nitime.six.MovedModule(name, old, new=None)

Bases: nitime.six._LazyDescr

__init__(name, old, new=None)

Initialize self. See help(type(self)) for accurate signature.

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.