Skip to content

Commit

Permalink
docs: Silence sphinx errors for reference it cannot find
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Aug 6, 2022
1 parent 33fe15c commit d138ec0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@
('py:exc', 'LibError'), # undocumented
('py:exc', 'LinkError'), # undocumented
('py:exc', 'PreprocessError'), # undocumented
('py:exc', 'setuptools.errors.PlatformError'), # sphinx cannot find it
('py:func', 'distutils.CCompiler.new_compiler'), # undocumented
# undocumented:
('py:func', 'distutils.dist.DistributionMetadata.read_pkg_file'),
Expand Down
4 changes: 2 additions & 2 deletions setuptools/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ class Extension(_Extension):
specifies that a build failure in the extension should not abort the
build process, but simply not install the failing extension.
:raises DistutilsPlatformError: if 'runtime_library_dirs' is specified
on Windows. (since v63)
:raises setuptools.errors.PlatformError: if 'runtime_library_dirs' is
specified on Windows. (since v63)
"""

def __init__(self, name, sources, *args, **kw):
Expand Down

0 comments on commit d138ec0

Please sign in to comment.