mention runpy · python/cpython@4c60f2c (original) (raw)

Original file line number Diff line number Diff line change
@@ -61,10 +61,11 @@ directly from the command line using the :option:`-m` flag. For example::
61 61
62 62 python3 -m bandclass
63 63
64 -This command will cause ``__main__.py`` to run. How you utilize this
65 -mechanism will depend on the nature of the package you are writing, but
66 -in this hypothetical case, it might make sense to allow the teacher to search
67 -for students or parents using :mod:`argparse`::
64 +This command will cause ``__main__.py`` to run. For more details about the
65 +:option:`-m` flag, see :mod:`runpy`. How you utilize this mechanism will depend
66 +on the nature of the package you are writing, but in this hypothetical case, it
67 +might make sense to allow the teacher to search for students or parents using
68 +:mod:`argparse`::
68 69
69 70 # bandclass/__main__.py
70 71