mirror of
https://github.com/python/cpython.git
synced 2025-09-19 15:10:58 +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
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
import sys
|
||||
import regex
|
||||
import re
|
||||
import os
|
||||
|
||||
|
||||
|
@ -57,8 +57,8 @@ def main():
|
|||
|
||||
# Compiled regular expressions to search for import statements
|
||||
#
|
||||
m_import = regex.compile('^[ \t]*from[ \t]+\([^ \t]+\)[ \t]+')
|
||||
m_from = regex.compile('^[ \t]*import[ \t]+\([^#]+\)')
|
||||
m_import = re.compile('^[ \t]*from[ \t]+([^ \t]+)[ \t]+')
|
||||
m_from = re.compile('^[ \t]*import[ \t]+([^#]+)')
|
||||
|
||||
|
||||
# Collect data from one file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue