summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2016-08-13 18:47:54 (GMT)
committerR David Murray <rdmurray@bitdance.com>2016-08-13 18:47:54 (GMT)
commitc00189e94995aab6d5d06d3914baadea550fa138 (patch)
tree7d779fae7cd109e23457a9b9b380f30291816a32 /Doc/library
parent5dd2b8621d8e2b5ef8cecb9a91184bd992c2702d (diff)
parent689016fc00a8cfe3dda3807a1ad01a513906b368 (diff)
downloadcpython-c00189e94995aab6d5d06d3914baadea550fa138.zip
cpython-c00189e94995aab6d5d06d3914baadea550fa138.tar.gz
cpython-c00189e94995aab6d5d06d3914baadea550fa138.tar.bz2
Merge: #27753: fix typo (name->named).
Diffstat (limited to 'Doc/library')
-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