Home
last modified time | relevance | path

Searched refs:runsource (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Lib/test/test_pyrepl/
Dtest_interact.py33 … patch.object(InteractiveColoredConsole, "runsource", wraps=console.runsource) as runsource,
70 console.runsource(source)
78 result = console.runsource(source)
87 result = console.runsource(source)
97 result = console.runsource(source)
109 console.runsource(source)
117 console.runsource(source)
125 result = console.runsource(source)
137 result = console.runsource(source)
150 result = console.runsource(source)
[all …]
/external/python/cpython3/Doc/library/
Dcode.rst82 .. method:: InteractiveInterpreter.runsource(source, filename="<input>", symbol="single")
90 printed by calling the :meth:`showsyntaxerror` method. :meth:`runsource`
94 returned ``None``. :meth:`runsource` returns ``True``.
98 exceptions, except for :exc:`SystemExit`). :meth:`runsource` returns ``False``.
173 buffer and the interpreter's :meth:`~InteractiveInterpreter.runsource` method is called with the
178 dealt with in some way (this is the same as :meth:`!runsource`).
Dsqlite3.rst388 See :func:`!runsource` in :source:`Lib/sqlite3/__main__.py`
/external/python/cpython3/Lib/
Dcode.py40 def runsource(self, source, filename="<input>", symbol="single"): member in InteractiveInterpreter
314 more = self.runsource(source, filename, symbol=_symbol)
/external/python/cpython3/Lib/sqlite3/
D__main__.py45 def runsource(self, source, filename="<input>", symbol="single"): member in SqliteInteractiveConsole
/external/python/cpython3/Lib/_pyrepl/
Dconsole.py175 def runsource(self, source, filename="<input>", symbol="single"): member in InteractiveColoredConsole
/external/scapy/scapy/
Dautorun.py84 if interp.runsource(cmd):
/external/python/cpython3/Lib/idlelib/
Dpyshell.py680 def runsource(self, source): member in ModifiedInterpreter
687 return InteractiveInterpreter.runsource(self, source, filename)
1355 input_is_complete = self.interp.runsource(line)
/external/python/cpython3/Misc/NEWS.d/
D3.13.0b2.rst308 Catch :exc:`SyntaxError` from :func:`compile` in the runsource() method of