/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_xreadlines.py | 1 """Fix "for x in f.xreadlines()" -> "for x in f". 3 This fixer will also convert g(f.xreadlines) into g(f.__iter__).""" 14 power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > > 16 power< any+ trailer< '.' no_call='xreadlines' > >
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_xreadlines.py | 1 """Fix "for x in f.xreadlines()" -> "for x in f". 3 This fixer will also convert g(f.xreadlines) into g(f.__iter__).""" 14 power< call=any+ trailer< '.' 'xreadlines' > trailer< '(' ')' > > 16 power< any+ trailer< '.' no_call='xreadlines' > >
|
/bionic/libc/tools/ |
genserv.py | 43 for line in f.xreadlines():
|
bionic_utils.py | 161 for line in fp.xreadlines():
|
/external/qemu/ |
gen-charmap.py | 135 for line in fp.xreadlines():
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
tempfile.py | 614 def xreadlines(self, *args): member in class:SpooledTemporaryFile 616 return self._file.xreadlines(*args)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
tempfile.py | 614 def xreadlines(self, *args): member in class:SpooledTemporaryFile 616 return self._file.xreadlines(*args)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tempfile.py | 792 self.assertEqual(list(f.xreadlines()), [b'abc\n'] * 5) 796 self.assertEqual(list(f.xreadlines()), [b'abc\n'] * 5 + [b'x\n', b'y'])
|
test_bz2.py | 134 # "Test BZ2File.xreadlines()" 138 self.assertEqual(list(bz2f.xreadlines()), sio.readlines())
|
test_py3kwarn.py | 243 expected = ("f.xreadlines() not supported in 3.x, " 247 self.assertWarning(f.xreadlines(), w, expected)
|
test_file2k.py | 119 deprecated_methods = ['xreadlines']
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tempfile.py | 792 self.assertEqual(list(f.xreadlines()), [b'abc\n'] * 5) 796 self.assertEqual(list(f.xreadlines()), [b'abc\n'] * 5 + [b'x\n', b'y'])
|
test_bz2.py | 134 # "Test BZ2File.xreadlines()" 138 self.assertEqual(list(bz2f.xreadlines()), sio.readlines())
|
test_py3kwarn.py | 243 expected = ("f.xreadlines() not supported in 3.x, " 247 self.assertWarning(f.xreadlines(), w, expected)
|
test_file2k.py | 119 deprecated_methods = ['xreadlines']
|