]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-100176: remove incorrect version compatibility check from argument clinic (#100190)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Mon, 12 Dec 2022 11:52:12 +0000 (03:52 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Dec 2022 11:52:12 +0000 (17:22 +0530)
Tools/clinic/clinic.py

index 0ece814e8f18831a9f29c1a04ae6869e278f8988..fdf8041e14bbc110e2f46995190bbe629659b6aa 100755 (executable)
@@ -5212,10 +5212,6 @@ clinic = None
 
 def main(argv):
     import sys
-
-    if sys.version_info.major < 3 or sys.version_info.minor < 3:
-        sys.exit("Error: clinic.py requires Python 3.3 or greater.")
-
     import argparse
     cmdline = argparse.ArgumentParser(
         description="""Preprocessor for CPython C files.