mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Get rid of xreadlines() (methods).
This commit is contained in:
parent
7c3072437a
commit
7096760b25
11 changed files with 9 additions and 47 deletions
|
@ -179,7 +179,7 @@ for s in (-1, 0, 1, 512):
|
|||
|
||||
methods = ['fileno', 'flush', 'isatty', 'next', 'read', 'readinto',
|
||||
'readline', 'readlines', 'seek', 'tell', 'truncate', 'write',
|
||||
'xreadlines', '__iter__']
|
||||
'__iter__']
|
||||
if sys.platform.startswith('atheos'):
|
||||
methods.remove('truncate')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue