Skip to content

Commit 0f27839

Browse files
authored
PEP 632: Improve formatting and fix link (#1990)
1 parent 0bc330a commit 0f27839

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pep-0632.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ For these modules or types, ``setuptools`` is the best substitute:
172172
For these modules or types, use the standards-defined Python Packaging
173173
Authority packages specified:
174174

175-
* ``distutils.version`` - use ``packaging``
175+
* ``distutils.version`` use the ``packaging`` package
176176

177177
For these modules or functions, use the standard library module shown:
178178

179-
* ``distutils.fancy_getopt`` - use ``argparse``
180-
* ``distutils.spawn.find_executable`` - use ``shutil.which``
181-
* ``distutils.spawn.spawn`` - use ``subprocess.run``
182-
* ``distutils.sysconfig`` - use ``sysconfig``
183-
* ``distutils.util.get_platform`` - use ``platform``
179+
* ``distutils.fancy_getopt`` use the ``argparse`` module
180+
* ``distutils.spawn.find_executable`` use the ``shutil.which`` function
181+
* ``distutils.spawn.spawn`` use the ``subprocess.run`` function
182+
* ``distutils.sysconfig`` use the ``sysconfig`` module
183+
* ``distutils.util.get_platform`` use the ``platform`` module
184184

185185
For these functions, and any others not mentioned here, you will need
186186
to reimplement the functionality yourself. The legacy documentation
@@ -251,7 +251,7 @@ References
251251
(https://www.python.org/dev/peps/pep-0517/)
252252
253253
.. [5] Porting from Distutils
254-
(https://setuptools.readthedocs.io/en/latest/distutils-legacy.html)
254+
(https://setuptools.readthedocs.io/en/latest/deprecated/distutils-legacy.html)
255255
256256
.. [6] Packaging (numpy.distutils)
257257
(https://numpy.org/doc/stable/reference/distutils.html)

0 commit comments

Comments
 (0)