summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2016-08-13 14:47:18 -0400
committerR David Murray <rdmurray@bitdance.com>2016-08-13 14:47:18 -0400
commit689016fc00a8cfe3dda3807a1ad01a513906b368 (patch)
tree4f568b8c8a53cd45fff1b3794c02b3df01da885f
parentf6ffa9826e0dbb319a1627aad004ccf3d8a30c0c (diff)
downloadcpython-git-689016fc00a8cfe3dda3807a1ad01a513906b368.tar.gz
#27753: fix typo (name->named).
-rw-r--r--Doc/library/py_compile.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/py_compile.rst b/Doc/library/py_compile.rst
index 65f76b8bb8..0af8fb15b3 100644
--- a/Doc/library/py_compile.rst
+++ b/Doc/library/py_compile.rst
@@ -30,7 +30,7 @@ byte-code cache files in the directory containing the source code.
.. function:: compile(file, cfile=None, dfile=None, doraise=False, optimize=-1)
Compile a source file to byte-code and write out the byte-code cache file.
- The source code is loaded from the file name *file*. The byte-code is
+ The source code is loaded from the file named *file*. The byte-code is
written to *cfile*, which defaults to the :pep:`3147`/:pep:`488` path, ending
in ``.pyc``.
For example, if *file* is ``/foo/bar/baz.py`` *cfile* will default to