mirror of https://github.com/python/cpython
gh-100176: remove incorrect version compatibility check from argument clinic (#100190)
This commit is contained in:
parent
935ef59321
commit
621a1790c4
|
@ -5212,10 +5212,6 @@ clinic = None
|
||||||
|
|
||||||
def main(argv):
|
def main(argv):
|
||||||
import sys
|
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
|
import argparse
|
||||||
cmdline = argparse.ArgumentParser(
|
cmdline = argparse.ArgumentParser(
|
||||||
description="""Preprocessor for CPython C files.
|
description="""Preprocessor for CPython C files.
|
||||||
|
|
Loading…
Reference in New Issue