Skip to content

Commit a2cf630

Browse files
committed
gh-100176: remove incorrect version compatibility check from clinic
- clinic.py actually requires at least Python 3.6 - This check will fail if there is a 4.0
1 parent 70be5e4 commit a2cf630

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Tools/clinic/clinic.py

-4
Original file line numberDiff line numberDiff line change
@@ -5212,10 +5212,6 @@ def state_terminal(self, line):
52125212

52135213
def main(argv):
52145214
import sys
5215-
5216-
if sys.version_info.major < 3 or sys.version_info.minor < 3:
5217-
sys.exit("Error: clinic.py requires Python 3.3 or greater.")
5218-
52195215
import argparse
52205216
cmdline = argparse.ArgumentParser(
52215217
description="""Preprocessor for CPython C files.

0 commit comments

Comments
 (0)