diff options
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/importlib.rst | 2 | ||||
-rw-r--r-- | Doc/library/py_compile.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index bd9c5ebc79..82c696d25e 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -1120,7 +1120,7 @@ an :term:`importer`. file path. For example, if *path* is ``/foo/bar/__pycache__/baz.cpython-32.pyc`` the returned path would be ``/foo/bar/baz.py``. *path* need not exist, however if it does not conform - to :pep:`3147` or :pep`488` format, a ``ValueError`` is raised. If + to :pep:`3147` or :pep:`488` format, a ``ValueError`` is raised. If :attr:`sys.implementation.cache_tag` is not defined, :exc:`NotImplementedError` is raised. diff --git a/Doc/library/py_compile.rst b/Doc/library/py_compile.rst index 3647571090..97f2b20d2a 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. 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 - written to *cfile*, which defaults to the :pep:`3147`/:pep`488` path, ending + 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 ``/foo/bar/__pycache__/baz.cpython-32.pyc`` for Python 3.2. If *dfile* is |