summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorOndrej Certik <ondrej.certik@gmail.com>2013-03-07 15:40:10 +0100
committerOndrej Certik <ondrej.certik@gmail.com>2013-03-07 15:40:10 +0100
commit7c3b6dd33ec8bee517f1333e1dd0d4fb7078d01c (patch)
tree92854bacdfdb37ac326ca8813ed7a61f339aeefd /numpy/polynomial/polyutils.py
parentff01555976cbbac5cb1ee9ecabc170a9d6886641 (diff)
downloadnumpy-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