py3k
¶
Python 3 compatibility tools.
Copied from numpy/compat/py3k.
Please prefer the routines in the six module when possible.
BSD license
asbytes (s) |
|
asbytes_nested (x) |
|
asstr (s) |
|
asunicode_nested (x) |
|
getexception () |
|
ints2bytes (seq) |
|
isfileobj (f) |
|
open_latin1 (filename[, mode]) |