Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(50504)

Unified Diff: Doc/library/runpy.rst

Issue 14285: Traceback wrong on ImportError while executing a package
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Doc/using/cmdline.rst » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Doc/library/runpy.rst Thu Dec 03 22:27:31 2015 +0200
+++ b/Doc/library/runpy.rst Sun Dec 06 23:23:35 2015 +0000
@@ -36,7 +36,8 @@
import mechanism (refer to :pep:`302` for details) and then executed in a
fresh module namespace.
- If the supplied module name refers to a package rather than a normal
+ The *mod_name* argument should be an absolute module name.
+ If the module name refers to a package rather than a normal
module, then that package is imported and the ``__main__`` submodule within
that package is then executed and the resulting module globals dictionary
returned.
« no previous file with comments | « no previous file | Doc/using/cmdline.rst » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+