Skip to content

Commit f2679af

Browse files
bpo-35027, distutils doc: Correct note on setup.py change in Python 3.7 (GH-10032)
(cherry picked from commit e80e77a) Co-authored-by: TilmanK <tilman.krummeck@googlemail.com>
1 parent d9dbb86 commit f2679af

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/distutils/setupscript.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,8 @@ information is sometimes used to indicate sub-releases. These are
682682
)
683683

684684
.. versionchanged:: 3.7
685-
:class:`~distutils.core.setup` now raises a :exc:`TypeError` if
686-
``classifiers``, ``keywords`` and ``platforms`` fields are not specified
687-
as a list.
685+
:class:`~distutils.core.setup` now warns when ``classifiers``, ``keywords``
686+
or ``platforms`` fields are not specified as a list or a string.
688687

689688
.. _debug-setup-script:
690689

0 commit comments

Comments
 (0)