noqa: undefined name 'memoryview' in Python 2.6
This commit is contained in:
parent
2f7a1d4277
commit
c05225f5dc
@ -10,7 +10,7 @@ except NameError: # Python 3
|
||||
string_types = (str, )
|
||||
|
||||
if not PY2K:
|
||||
buffer = memoryview
|
||||
buffer = memoryview # noqa: F821 undefined name 'memoryview' in Python 2.6
|
||||
filter, map, zip = filter, map, zip
|
||||
iteritems = lambda dikt: iter(dikt.items()) # noqa: E731
|
||||
from functools import reduce
|
||||
|
Loading…
Reference in New Issue
Block a user