diff options
author | Ondrej Certik <ondrej.certik@gmail.com> | 2013-03-07 15:40:10 +0100 |
---|---|---|
committer | Ondrej Certik <ondrej.certik@gmail.com> | 2013-03-07 15:40:10 +0100 |
commit | 7c3b6dd33ec8bee517f1333e1dd0d4fb7078d01c (patch) | |
tree | 92854bacdfdb37ac326ca8813ed7a61f339aeefd /numpy/polynomial/polyutils.py | |
parent | ff01555976cbbac5cb1ee9ecabc170a9d6886641 (diff) | |
download | numpy-7c3b6dd33ec8bee517f1333e1dd0d4fb7078d01c.tar.gz |
FIX: add _supports_fileno() for testing fileno()
The new _supports_fileno() function works in all versions of Python.
The problem was that in Python 2.x, the fileno() method of StringIO() is
missing, while in Python 3.x, it is present, but raises an exception.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions