提交 dfb732cb authored 作者: David Warde-Farley's avatar David Warde-Farley 提交者: Arnaud Bergeron

Remaining flake8 fixes.

上级 75c0a58d
...@@ -28,7 +28,6 @@ if PY3: ...@@ -28,7 +28,6 @@ if PY3:
"""Return -1 if x < y, 0 if x == y, 1 if x > y.""" """Return -1 if x < y, 0 if x == y, 1 if x > y."""
return (x > y) - (x < y) return (x > y) - (x < y)
def get_unbound_function(unbound): def get_unbound_function(unbound):
# Op.make_thunk isn't bound, so don't have a __func__ attr. # Op.make_thunk isn't bound, so don't have a __func__ attr.
# But bound method, have a __func__ method that point to the # But bound method, have a __func__ method that point to the
...@@ -37,11 +36,6 @@ if PY3: ...@@ -37,11 +36,6 @@ if PY3:
return unbound.__func__ return unbound.__func__
return unbound return unbound
from functools import partial
from collections import defaultdict, deque
from sys import maxsize
from itertools import combinations, product
from collections import OrderedDict, MutableMapping as DictMixin from collections import OrderedDict, MutableMapping as DictMixin
def decode(x): def decode(x):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论