]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106535: Soft deprecate the getopt module (#105735)
authorVictor Stinner <vstinner@python.org>
Sat, 8 Jul 2023 15:51:45 +0000 (17:51 +0200)
committerGitHub <noreply@github.com>
Sat, 8 Jul 2023 15:51:45 +0000 (17:51 +0200)
commitda98ed0aa040791ef08b24befab697038c8c9fd5
treea76a83f6fb908b0d21e15ff8f07b6a07d925a02f
parentb305c69d1085c9e6c6875559109f73b827cb6fe0
gh-106535: Soft deprecate the getopt module (#105735)

The getopt module exists since the initial revision of the Python
source code (1990). The optparse module was added to Python 2.3. When
Python 2.7 added the 3rd argparse module, the optparse module was
soft deprecated. Soft deprecate the getopt module.
Doc/library/getopt.rst