Home | Trees | Indices | Help |
|
---|
|
Wrappers around some builtins introduced in python 2.3, 2.4 and 2.5, making them available in for earlier versions of python. See another compatibility snippets from other projects: :mod:`lib2to3.fixes` :mod:`coverage.backward` :mod:`unittest2.compatibility`
Classes | |
CalledProcessError This exception is raised when a process run by check_call() returns a non-zero exit status. |
|
InheritableSet hacked resolving inheritancy issue from old style class in 2.4 |
|
range xrange(stop) -> xrange object xrange(start, stop[, step]) -> xrange object |
Functions | |||
|
|||
|
|||
|
|||
value |
|
||
bool |
|
||
bool |
|
||
|
|||
|
|||
|
Variables | |
method_type = types.MethodType
|
|
izip = deprecated('izip exists in itertools since py2.3')(izip)
|
|
imap = deprecated('imap exists in itertools since py2.3')(imap)
|
|
chain = deprecated('chain exists in itertools since py2.3')(ch
|
|
sum = deprecated('sum exists in builtins since py2.3')(sum)
|
|
enumerate = deprecated('enumerate exists in builtins since py2
|
|
frozenset = deprecated('frozenset exists in builtins since py2
|
|
reversed = deprecated('reversed exists in builtins since py2.4
|
|
sorted = deprecated('sorted exists in builtins since py2.4')(s
|
|
max = deprecated('max exists in builtins since py2.4')(max)
|
|
json = None hash(x) |
Function Details |
Run command with arguments. Wait for command to complete, then return the returncode attribute. The arguments are the same as for the Popen constructor. Example: retcode = call(["ls", "-l"]) |
Run command with arguments. Wait for command to complete. If the exit code was zero then return, otherwise raise CalledProcessError. The CalledProcessError object will have the return code in the returncode attribute. The arguments are the same as for the Popen constructor. Example: check_call(["ls", "-l"]) |
Variables Details |
chain
|
enumerate
|
frozenset
|
reversed
|
sorted
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Feb 19 13:32:27 2014 | http://epydoc.sourceforge.net |