mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.
This commit is contained in:
parent
efbeaef1c1
commit
10be10cbe7
69 changed files with 73 additions and 7120 deletions
|
@ -20,7 +20,7 @@
|
|||
# into a program for a different change to Python programs...
|
||||
|
||||
import sys
|
||||
import regex
|
||||
import re
|
||||
import os
|
||||
from stat import *
|
||||
import getopt
|
||||
|
@ -59,7 +59,7 @@ def main():
|
|||
if fix(arg): bad = 1
|
||||
sys.exit(bad)
|
||||
|
||||
ispythonprog = regex.compile('^[a-zA-Z0-9_]+\.py$')
|
||||
ispythonprog = re.compile('^[a-zA-Z0-9_]+\.py$')
|
||||
def ispython(name):
|
||||
return ispythonprog.match(name) >= 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue