diff options
author | Larry Hastings <larry@hastings.org> | 2015-04-19 20:50:12 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-04-19 20:50:12 (GMT) |
commit | 770ce204ee7e5c69741282c8c8537055e97a62bd (patch) | |
tree | b8fdf467cdf54bb36ee518561a927cf1bc60d971 /Doc | |
parent | 1a084a882b6d201320aa834bfd14e1b9a445c139 (diff) | |
download | cpython-770ce204ee7e5c69741282c8c8537055e97a62bd.zip cpython-770ce204ee7e5c69741282c8c8537055e97a62bd.tar.gz cpython-770ce204ee7e5c69741282c8c8537055e97a62bd.tar.bz2 |
Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/structures.rst | 2 | ||||
-rw-r--r-- | Doc/library/importlib.rst | 2 | ||||
-rw-r--r-- | Doc/library/py_compile.rst | 2 | ||||
-rw-r--r-- | Doc/tools/susp-ignored.csv | 2 | ||||
-rw-r--r-- | Doc/using/cmdline.rst | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst index 7f1cc69..b925a61 100644 --- a/Doc/c-api/structures.rst +++ b/Doc/c-api/structures.rst @@ -44,7 +44,7 @@ the definition of all other Python objects. PyObject ob_base; - See documentation of :c:type::`PyObject` above. + See documentation of :c:type:`PyObject` above. .. c:macro:: PyObject_VAR_HEAD diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index bd9c5eb..82c696d 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 3647571..97f2b20 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 diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv index 4b538a5..5eaa09a 100644 --- a/Doc/tools/susp-ignored.csv +++ b/Doc/tools/susp-ignored.csv @@ -275,7 +275,6 @@ whatsnew/3.2,,:location,zope9-location = ${zope9:location} whatsnew/3.2,,:prefix,zope-conf = ${custom:prefix}/etc/zope.conf whatsnew/changelog,,:gz,": TarFile opened with external fileobj and ""w:gz"" mode didn't" whatsnew/changelog,,::,": Use ""127.0.0.1"" or ""::1"" instead of ""localhost"" as much as" -library/stdtypes,3688,::,>>> m[::2].tolist() library/tarfile,149,:xz,'x:xz' library/xml.etree.elementtree,290,:sometag,prefix:sometag library/xml.etree.elementtree,301,:fictional,"<actors xmlns:fictional=""http://characters.example.com""" @@ -290,3 +289,4 @@ library/xml.etree.elementtree,332,:character,"for char in actor.findall('role:ch library/zipapp,31,:main,"$ python -m zipapp myapp -m ""myapp:main""" library/zipapp,82,:fn,"argument should have the form ""pkg.mod:fn"", where ""pkg.mod"" is a" library/zipapp,155,:callable,"""pkg.module:callable"" and the archive will be run by importing" +library/stdtypes,3720,::,>>> m[::2].tolist() diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst index 81cd38a..701c624 100644 --- a/Doc/using/cmdline.rst +++ b/Doc/using/cmdline.rst @@ -199,7 +199,7 @@ Miscellaneous options .. cmdoption:: -B - If given, Python won't try to write ``.pyc``` files on the + If given, Python won't try to write ``.pyc`` files on the import of source modules. See also :envvar:`PYTHONDONTWRITEBYTECODE`. |