summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-03-05 12:09:12 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-03-05 13:31:39 -0700
commit342f074eb412e4cc19ab31a35a4ca04449e61597 (patch)
tree78c3e4656d6718c427ea9e9b578ad7f64330a82a /numpy/polynomial/polyutils.py
parent9311fb7e861e2c8eb686abded01c059b49f0b5e4 (diff)
downloadnumpy-342f074eb412e4cc19ab31a35a4ca04449e61597.tar.gz
2to3: Remove xreadlines and replace f.readlines() by f where valid.
An open file `f` has been an iterator since python2.3 and `f.xreadlines()` is no longer needed, so replace it with `f`. Also replace `f.readlines()` with `f` where an iterator will do. The replacement of `f.readlines()` is not critical because it is a list in both python2 and python3, but the code is a bit cleaner. Closes #3093
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions