remove callable helper because 'callable' has been resurrected from py32.

This commit is contained in:
Takayuki Shimizukawa
2014-08-19 23:02:45 +09:00
parent 9404f633d4
commit 94686aa044
-6
View File
@@ -13,12 +13,6 @@
import collections
from six import PY3
if PY3:
callable = lambda o: hasattr(o, '__call__')
class peek_iter(object):
"""An iterator object that supports peeking ahead.