Skip to content

Commit

Permalink
pythongh-100176: remove incorrect version compatibility check from cl…
Browse files Browse the repository at this point in the history
…inic

- clinic.py actually requires at least Python 3.6
- This check will fail if there is a 4.0
  • Loading branch information
hauntsaninja committed Dec 12, 2022
1 parent 70be5e4 commit a2cf630
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Tools/clinic/clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5212,10 +5212,6 @@ def state_terminal(self, line):

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.
Expand Down

0 comments on commit a2cf630

Please sign in to comment.