]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35027, distutils doc: Correct note on setup.py change in Python 3.7 (GH-10032)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 24 Oct 2018 22:59:15 +0000 (15:59 -0700)
committerGitHub <noreply@github.com>
Wed, 24 Oct 2018 22:59:15 +0000 (15:59 -0700)
(cherry picked from commit e80e77a484983ffb527ef22d336ff9500589dce3)

Co-authored-by: TilmanK <tilman.krummeck@googlemail.com>
Doc/distutils/setupscript.rst

index 1d96acbe98f696fae79f950b93d3ca1de473abfc..c1051d2e807e7946d928248ff659b26de5be2621 100644 (file)
@@ -682,9 +682,8 @@ information is sometimes used to indicate sub-releases.  These are
           )
 
 .. versionchanged:: 3.7
-   :class:`~distutils.core.setup` now raises a :exc:`TypeError` if
-   ``classifiers``, ``keywords`` and ``platforms`` fields are not specified
-   as a list.
+   :class:`~distutils.core.setup` now warns when ``classifiers``, ``keywords``
+   or ``platforms`` fields are not specified as a list or a string.
 
 .. _debug-setup-script: