mirror of
https://github.com/python/cpython.git
synced 2025-08-05 09:28:41 +00:00
gh-101100: Silence Sphinx warnings when ntpath
or posixpath
are referenced (#112833)
This commit is contained in:
parent
64d8b4c709
commit
2c3906bc4b
4 changed files with 8 additions and 5 deletions
|
@ -166,6 +166,10 @@ nitpick_ignore = [
|
||||||
# Deprecated function that was never documented:
|
# Deprecated function that was never documented:
|
||||||
('py:func', 'getargspec'),
|
('py:func', 'getargspec'),
|
||||||
('py:func', 'inspect.getargspec'),
|
('py:func', 'inspect.getargspec'),
|
||||||
|
# Undocumented modules that users shouldn't have to worry about
|
||||||
|
# (implementation details of `os.path`):
|
||||||
|
('py:mod', 'ntpath'),
|
||||||
|
('py:mod', 'posixpath'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Temporary undocumented names.
|
# Temporary undocumented names.
|
||||||
|
|
|
@ -306,7 +306,7 @@ Pure paths provide the following methods and properties:
|
||||||
.. attribute:: PurePath.pathmod
|
.. attribute:: PurePath.pathmod
|
||||||
|
|
||||||
The implementation of the :mod:`os.path` module used for low-level path
|
The implementation of the :mod:`os.path` module used for low-level path
|
||||||
operations: either ``posixpath`` or ``ntpath``.
|
operations: either :mod:`posixpath` or :mod:`ntpath`.
|
||||||
|
|
||||||
.. versionadded:: 3.13
|
.. versionadded:: 3.13
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,6 @@ Doc/library/multiprocessing.rst
|
||||||
Doc/library/multiprocessing.shared_memory.rst
|
Doc/library/multiprocessing.shared_memory.rst
|
||||||
Doc/library/numbers.rst
|
Doc/library/numbers.rst
|
||||||
Doc/library/optparse.rst
|
Doc/library/optparse.rst
|
||||||
Doc/library/os.path.rst
|
|
||||||
Doc/library/os.rst
|
Doc/library/os.rst
|
||||||
Doc/library/pickle.rst
|
Doc/library/pickle.rst
|
||||||
Doc/library/pickletools.rst
|
Doc/library/pickletools.rst
|
||||||
|
|
|
@ -2144,9 +2144,9 @@ The following features and APIs have been removed from Python 3.7:
|
||||||
* Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`.
|
* Removed support of the *exclude* argument in :meth:`tarfile.TarFile.add`.
|
||||||
It was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead.
|
It was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead.
|
||||||
|
|
||||||
* The ``splitunc()`` function in the :mod:`ntpath` module was deprecated in
|
* The :func:`!ntpath.splitunc` function was deprecated in
|
||||||
Python 3.1, and has now been removed. Use the :func:`~os.path.splitdrive`
|
Python 3.1, and has now been removed. Use :func:`~os.path.splitdrive`
|
||||||
function instead.
|
instead.
|
||||||
|
|
||||||
* :func:`collections.namedtuple` no longer supports the *verbose* parameter
|
* :func:`collections.namedtuple` no longer supports the *verbose* parameter
|
||||||
or ``_source`` attribute which showed the generated source code for the
|
or ``_source`` attribute which showed the generated source code for the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue