Minor cleanups
This commit is contained in:
parent
0ac4b6bfd5
commit
67afb9fa7a
@ -1,12 +1,6 @@
|
||||
import sys
|
||||
|
||||
#if sys.version_info >= (2, 6):
|
||||
# from collections import namedtuple
|
||||
#else:
|
||||
## Copied from Python 2.6 standard library
|
||||
from keyword import iskeyword as _iskeyword
|
||||
from operator import itemgetter as _itemgetter
|
||||
_sys = sys
|
||||
import sys as _sys
|
||||
|
||||
def namedtuple(typename, field_names, verbose=False):
|
||||
"""Returns a new subclass of tuple with named fields.
|
||||
|
Loading…
Reference in New Issue
Block a user