summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/conf.py1
-rw-r--r--setuptools/extension.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 9a4e33b7..2b60bf57 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -186,6 +186,7 @@ nitpick_ignore = [
('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'),
diff --git a/setuptools/extension.py b/setuptools/extension.py
index 9010dec8..f2bbd59d 100644
--- a/setuptools/extension.py
+++ b/setuptools/extension.py
@@ -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):