mirror of
https://github.com/python/cpython.git
synced 2025-07-28 21:55:21 +00:00
remove set compat cruft
This commit is contained in:
parent
07d539d08b
commit
32e7aa6ab9
2 changed files with 0 additions and 12 deletions
|
@ -16,12 +16,6 @@ import sys
|
|||
|
||||
from sre_constants import *
|
||||
|
||||
def set(seq):
|
||||
s = {}
|
||||
for elem in seq:
|
||||
s[elem] = 1
|
||||
return s
|
||||
|
||||
SPECIAL_CHARS = ".\\[{()*+?^$|"
|
||||
REPEAT_CHARS = "*+?{"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue