summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2016-08-13 18:47:18 (GMT)
committerR David Murray <rdmurray@bitdance.com>2016-08-13 18:47:18 (GMT)
commit689016fc00a8cfe3dda3807a1ad01a513906b368 (patch)
tree4f568b8c8a53cd45fff1b3794c02b3df01da885f
parentf6ffa9826e0dbb319a1627aad004ccf3d8a30c0c (diff)
downloadcpython-689016fc00a8cfe3dda3807a1ad01a513906b368.zip
cpython-689016fc00a8cfe3dda3807a1ad01a513906b368.tar.gz
cpython-689016fc00a8cfe3dda3807a1ad01a513906b368.tar.bz2
#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 65f76b8..0af8fb1 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