[3.12] gh-101100: Silence Sphinx warnings when ntpath or posixpath are referenced (#112833) (#112857)

(cherry-picked from commit 2c3906bc4b)
This commit is contained in:
Alex Waygood 2023-12-07 21:10:12 +00:00 committed by GitHub
parent c0fc88fa2f
commit fb02db75cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View file

@ -160,6 +160,10 @@ nitpick_ignore = [
# Deprecated function that was never documented:
('py:func', '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.