/external/python/cpython2/Modules/ |
D | main.c | 177 PyObject *runpy, *runmodule, *runargs, *result; in RunModule() local 178 runpy = PyImport_ImportModule("runpy"); in RunModule() 179 if (runpy == NULL) { in RunModule() 183 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in RunModule() 186 Py_DECREF(runpy); in RunModule() 193 Py_DECREF(runpy); in RunModule() 201 Py_DECREF(runpy); in RunModule()
|
/external/fonttools/Lib/fontTools/ |
D | __main__.py | 28 import runpy 29 runpy.run_module(mod, run_name='__main__')
|
/external/python/cpython3/Lib/multiprocessing/ |
D | spawn.py | 13 import runpy 247 main_content = runpy.run_module(mod_name, 276 main_content = runpy.run_path(main_path,
|
/external/python/cpython3/Lib/test/test_tools/ |
D | test_fixcid.py | 5 import runpy 89 runpy.run_path(script, run_name="__main__")
|
/external/python/cpython3/Doc/library/ |
D | runpy.rst | 1 :mod:`runpy` --- Locating and executing Python modules 4 .. module:: runpy 9 **Source code:** :source:`Lib/runpy.py` 13 The :mod:`runpy` module is used to locate and run Python modules without 23 guaranteed to work correctly after a :mod:`runpy` function has returned. 27 The :mod:`runpy` module provides two functions:
|
D | modules.rst | 18 runpy.rst
|
D | tracemalloc.rst | 173 File "/usr/lib/python3.4/runpy.py", line 73 175 File "/usr/lib/python3.4/runpy.py", line 160
|
/external/python/cpython2/Doc/library/ |
D | runpy.rst | 1 :mod:`runpy` --- Locating and executing Python modules 4 .. module:: runpy 11 **Source code:** :source:`Lib/runpy.py` 15 The :mod:`runpy` module is used to locate and run Python modules without 20 The :mod:`runpy` module provides two functions:
|
D | modules.rst | 22 runpy.rst
|
/external/python/cpython3/Lib/ |
D | cProfile.py | 126 import runpy 152 'run_module': runpy.run_module,
|
D | pdb.py | 1531 import runpy 1532 mod_name, mod_spec, code = runpy._get_module_details(module_name)
|
/external/python/cpython2/Lib/test/ |
D | test_tools.py | 8 import runpy 442 runpy.run_path(script, run_name="__main__")
|
D | test_runpy.py | 13 from runpy import _run_code, _run_module_code, run_module, run_path
|
/external/python/cpython3/Modules/ |
D | main.c | 288 PyObject *module, *runpy, *runmodule, *runargs, *result; in pymain_run_module() local 289 runpy = PyImport_ImportModule("runpy"); in pymain_run_module() 290 if (runpy == NULL) { in pymain_run_module() 295 runmodule = PyObject_GetAttrString(runpy, "_run_module_as_main"); in pymain_run_module() 299 Py_DECREF(runpy); in pymain_run_module() 306 Py_DECREF(runpy); in pymain_run_module() 315 Py_DECREF(runpy); in pymain_run_module() 324 Py_DECREF(runpy); in pymain_run_module()
|
/external/python/cpython3/Lib/test/ |
D | test_runpy.py | 18 import runpy 19 from runpy import _run_code, _run_module_code, run_module, run_path 55 "runpy": runpy,
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 191 runpy ncoghlan
|
/external/python/cpython2/Doc/using/ |
D | cmdline.rst | 108 :func:`runpy.run_module` 134 :func:`runpy.run_path`
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 110 :func:`runpy.run_module` 152 :func:`runpy.run_path`
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.2rc1.rst | 1459 initialization fails, a proper traceback is now reported. The "runpy" 1470 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
|
D | 3.6.0b1.rst | 381 Warn if a submodule argument to "python -m" or runpy.run_module() is found
|
D | 3.6.0a1.rst | 2311 initialization fails, a proper traceback is now reported. The "runpy" 2322 Also in runpy and the "-m" option, omit the irrelevant message ". . . is a
|
D | 3.5.3rc1.rst | 329 Warn if a submodule argument to "python -m" or runpy.run_module() is found
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.1.rst | 317 * The :mod:`runpy` module which supports the ``-m`` command line switch
|
D | 2.7.rst | 1462 * New function: :func:`~runpy.run_path` in the :mod:`runpy` module 1472 of :mod:`runpy` available to scripts that want to mimic the way
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 1700 runpy now provides a run_path function that allows Python code to execute 3918 The ``runpy`` module (and the ``-m`` switch) now support the execution of 4459 Add runpy support to zipimport in a manner that allows backporting to
|