/external/python/cpython2/Lib/plat-irix6/ |
cdplayer.py | 50 line = f.readline() 80 line = old.readline()
|
/external/python/cpython2/Lib/ |
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 168 import readline 172 readline.set_completer(Completer().complete [all...] |
tokenize.py | 3 generate_tokens(readline) is a generator that breaks a stream of 4 text into Python tokens. It accepts a readline-like method which is called 19 tokenize_loop(readline, tokeneater) 20 tokenize(readline, tokeneater=printtoken) 156 def tokenize(readline, tokeneater=printtoken): 161 The first parameter, readline, must be a callable object which provides 162 the same interface as the readline() method of built-in file objects. 170 tokenize_loop(readline, tokeneater) 175 def tokenize_loop(readline, tokeneater): 176 for token_info in generate_tokens(readline) [all...] |
/external/python/cpython2/Tools/freeze/ |
bkfile.py | 25 self.readline = self.__file.readline
|
parsesetup.py | 18 line = fp.readline() 55 line = fp.readline()
|
/external/python/cpython2/Tools/scripts/ |
findnocoding.py | 58 line1 = infile.readline() 59 line2 = infile.readline()
|
ifdef.py | 57 line = fpi.readline() 60 nextline = fpi.readline()
|
/external/python/cpython3/Lib/ |
site.py | 61 The readline module is also automatically configured to enable 64 isolated mode (-I) disables automatic readline configuration. 376 """Enable default readline configuration on interactive prompts, by 379 If the readline module can be imported, the hook will set the Tab key 387 import readline 394 readline_doc = getattr(readline, '__doc__', '') 396 readline.parse_and_bind('bind ^I rl_complete') 398 readline.parse_and_bind('tab: complete') 401 readline.read_init_file() 409 if readline.get_current_history_length() == 0 [all...] |
/external/python/cpython3/Tools/scripts/ |
findnocoding.py | 59 line1 = infile.readline() 60 line2 = infile.readline()
|
ifdef.py | 57 line = fpi.readline() 60 nextline = fpi.readline()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
_MozillaCookieJar.py | 50 magic = f.readline() 59 line = f.readline()
|
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 162 import readline 166 readline.set_completer(Completer().complete [all...] |
tokenize.py | 3 generate_tokens(readline) is a generator that breaks a stream of 4 text into Python tokens. It accepts a readline-like method which is called 19 tokenize_loop(readline, tokeneater) 20 tokenize(readline, tokeneater=printtoken) 155 def tokenize(readline, tokeneater=printtoken): 160 The first parameter, readline, must be a callable object which provides 161 the same interface as the readline() method of built-in file objects. 169 tokenize_loop(readline, tokeneater) 174 def tokenize_loop(readline, tokeneater): 175 for token_info in generate_tokens(readline) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
_MozillaCookieJar.py | 50 magic = f.readline() 59 line = f.readline()
|
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 162 import readline 166 readline.set_completer(Completer().complete [all...] |
tokenize.py | 3 generate_tokens(readline) is a generator that breaks a stream of 4 text into Python tokens. It accepts a readline-like method which is called 19 tokenize_loop(readline, tokeneater) 20 tokenize(readline, tokeneater=printtoken) 155 def tokenize(readline, tokeneater=printtoken): 160 The first parameter, readline, must be a callable object which provides 161 the same interface as the readline() method of built-in file objects. 169 tokenize_loop(readline, tokeneater) 174 def tokenize_loop(readline, tokeneater): 175 for token_info in generate_tokens(readline) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
_MozillaCookieJar.py | 50 magic = f.readline() 59 line = f.readline()
|
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 162 import readline 166 readline.set_completer(Completer().complete [all...] |
tokenize.py | 3 generate_tokens(readline) is a generator that breaks a stream of 4 text into Python tokens. It accepts a readline-like method which is called 19 tokenize_loop(readline, tokeneater) 20 tokenize(readline, tokeneater=printtoken) 155 def tokenize(readline, tokeneater=printtoken): 160 The first parameter, readline, must be a callable object which provides 161 the same interface as the readline() method of built-in file objects. 169 tokenize_loop(readline, tokeneater) 174 def tokenize_loop(readline, tokeneater): 175 for token_info in generate_tokens(readline) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
_MozillaCookieJar.py | 50 magic = f.readline() 59 line = f.readline()
|
rlcompleter.py | 1 """Word completion for GNU readline. 12 readline.parse_and_bind("tab: complete") 17 the completion to fail). This is a feature -- since readline sets the tty 27 - GNU readline is also used by the built-in functions input() and 33 - When the original stdin is not a tty device, GNU readline is never 34 used, and this module (and the readline module) are silently inactive. 54 readline via the set_completer() call: 56 readline.set_completer(Completer(my_namespace).complete) 162 import readline 166 readline.set_completer(Completer().complete [all...] |
tokenize.py | 3 generate_tokens(readline) is a generator that breaks a stream of 4 text into Python tokens. It accepts a readline-like method which is called 19 tokenize_loop(readline, tokeneater) 20 tokenize(readline, tokeneater=printtoken) 155 def tokenize(readline, tokeneater=printtoken): 160 The first parameter, readline, must be a callable object which provides 161 the same interface as the readline() method of built-in file objects. 169 tokenize_loop(readline, tokeneater) 174 def tokenize_loop(readline, tokeneater): 175 for token_info in generate_tokens(readline) [all...] |
/external/python/cpython3/Lib/test/test_asyncio/ |
test_streams.py | 45 f = reader.readline() 222 # Read one line. 'readline' will need to wait for the data 226 read_task = asyncio.Task(stream.readline(), loop=self.loop) 247 ValueError, self.loop.run_until_complete, stream.readline()) 257 ValueError, self.loop.run_until_complete, stream.readline()) 259 # waiting for the new data in buffer, 'readline' will consume 272 self.loop.run_until_complete(stream.readline()) 277 self.loop.run_until_complete(stream.readline()) 282 # their 'readline' methods are called. 293 ValueError, self.loop.run_until_complete, stream.readline()) [all...] |
/external/python/cpython2/Lib/test/ |
test_codecs.py | 86 line = reader.readline(size=size, keepends=keepends) 101 # Test long lines (multiple calls to read() in readline()) 118 reader.readline(keepends=True), 122 reader.readline(keepends=True), 128 reader.readline(keepends=False), 132 reader.readline(keepends=False), 146 # Issue #8260: Test readline() followed by read() 148 self.assertEqual(f.readline(), lines[0]) 152 # Issue #16636: Test readline() followed by readlines() 154 self.assertEqual(f.readline(), lines[0] [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
rcsclient.py | 63 directory = open(os.path.join("CVS", "Repository")).readline()
|