Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb02db7

Browse files
authored
[3.12]gh-101100: Silence Sphinx warnings whenntpath orposixpath are referenced (#112833) (#112857)
(cherry-picked from commit2c3906b)
1 parentc0fc88f commitfb02db7

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

‎Doc/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@
160160
# Deprecated function that was never documented:
161161
('py:func','getargspec'),
162162
('py:func','inspect.getargspec'),
163+
# Undocumented modules that users shouldn't have to worry about
164+
# (implementation details of `os.path`):
165+
('py:mod','ntpath'),
166+
('py:mod','posixpath'),
163167
]
164168

165169
# Temporary undocumented names.

‎Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ Doc/library/multiprocessing.shared_memory.rst
8282
Doc/library/nntplib.rst
8383
Doc/library/numbers.rst
8484
Doc/library/optparse.rst
85-
Doc/library/os.path.rst
8685
Doc/library/os.rst
8786
Doc/library/ossaudiodev.rst
8887
Doc/library/pickle.rst

‎Doc/whatsnew/3.7.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2144,9 +2144,9 @@ The following features and APIs have been removed from Python 3.7:
21442144
* Removed support of the *exclude* argument in:meth:`tarfile.TarFile.add`.
21452145
It was deprecated in Python 2.7 and 3.2. Use the *filter* argument instead.
21462146

2147-
* The``splitunc()`` function in the:mod:`ntpath` module was deprecated in
2148-
Python 3.1, and has now been removed. Usethe:func:`~os.path.splitdrive`
2149-
functioninstead.
2147+
* The:func:`!ntpath.splitunc` function was deprecated in
2148+
Python 3.1, and has now been removed. Use:func:`~os.path.splitdrive`
2149+
instead.
21502150

21512151
*:func:`collections.namedtuple` no longer supports the *verbose* parameter
21522152
or ``_source`` attribute which showed the generated source code for the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp