mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
remove set compat cruft
This commit is contained in:
parent
07d539d08b
commit
32e7aa6ab9
2 changed files with 0 additions and 12 deletions
|
@ -24,12 +24,6 @@ else:
|
|||
def _identityfunction(x):
|
||||
return x
|
||||
|
||||
def set(seq):
|
||||
s = {}
|
||||
for elem in seq:
|
||||
s[elem] = 1
|
||||
return s
|
||||
|
||||
_LITERAL_CODES = set([LITERAL, NOT_LITERAL])
|
||||
_REPEATING_CODES = set([REPEAT, MIN_REPEAT, MAX_REPEAT])
|
||||
_SUCCESS_CODES = set([SUCCESS, FAILURE])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue