Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.

This commit is contained in:
Larry Hastings 2015-04-19 13:50:12 -07:00
parent 1a084a882b
commit 770ce204ee
6 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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()

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
275 whatsnew/3.2 :prefix zope-conf = ${custom:prefix}/etc/zope.conf
276 whatsnew/changelog :gz : TarFile opened with external fileobj and "w:gz" mode didn't
277 whatsnew/changelog :: : Use "127.0.0.1" or "::1" instead of "localhost" as much as
library/stdtypes 3688 :: >>> m[::2].tolist()
278 library/tarfile 149 :xz 'x:xz'
279 library/xml.etree.elementtree 290 :sometag prefix:sometag
280 library/xml.etree.elementtree 301 :fictional <actors xmlns:fictional="http://characters.example.com"
289 library/zipapp 31 :main $ python -m zipapp myapp -m "myapp:main"
290 library/zipapp 82 :fn argument should have the form "pkg.mod:fn", where "pkg.mod" is a
291 library/zipapp 155 :callable "pkg.module:callable" and the archive will be run by importing
292 library/stdtypes 3720 :: >>> m[::2].tolist()

View File

@ -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`.

File diff suppressed because one or more lines are too long