summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2015-04-19 13:50:12 -0700
committerLarry Hastings <larry@hastings.org>2015-04-19 13:50:12 -0700
commit667e70a42992db7f08a3bd34ab10ed21012309af (patch)
treed9ae7a9107fae9c704b99db86930ab58dd18b619 /Doc
parent143ebe6dc6735bcffe33aef70a33a83d9baccd8d (diff)
downloadcpython-667e70a42992db7f08a3bd34ab10ed21012309af.tar.gz
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.rst2
-rw-r--r--Doc/library/importlib.rst2
-rw-r--r--Doc/library/py_compile.rst2
-rw-r--r--Doc/tools/susp-ignored.csv2
-rw-r--r--Doc/using/cmdline.rst2
5 files changed, 5 insertions, 5 deletions
diff --git a/Doc/c-api/structures.rst b/Doc/c-api/structures.rst
index 7f1cc69148..b925a61704 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 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
diff --git a/Doc/tools/susp-ignored.csv b/Doc/tools/susp-ignored.csv
index 4b538a5368..5eaa09aa0d 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 81cd38a533..701c62416e 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`.