distutils 2.7’s Extension does not support optional (#13865).
Reported by Miki Tebeka.
diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst
index c394eee..692d5cf 100644
--- a/Doc/distutils/apiref.rst
+++ b/Doc/distutils/apiref.rst
@@ -261,11 +261,6 @@
| | from the source extensions if | |
| | not provided. | |
+------------------------+--------------------------------+---------------------------+
- | *optional* | specifies that a build failure | a boolean |
- | | in the extension should not | |
- | | abort the build process, but | |
- | | simply skip the extension. | |
- +------------------------+--------------------------------+---------------------------+
.. class:: Distribution
diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst
index cce78b0..165bfcd 100644
--- a/Doc/distutils/setupscript.rst
+++ b/Doc/distutils/setupscript.rst
@@ -334,10 +334,6 @@
There are still some other options which can be used to handle special cases.
-The :option:`optional` option is a boolean; if it is true,
-a build failure in the extension will not abort the build process, but
-instead simply not install the failing extension.
-
The :option:`extra_objects` option is a list of object files to be passed to the
linker. These files must not have extensions, as the default extension for the
compiler is used.