Function 'callable' has returned in Python 3.2

pull/21/head
Mišo Belica 11 years ago
parent 76832530b4
commit 2159625626

@ -18,14 +18,6 @@ else:
string_types = (bytes, unicode,)
try:
callable = callable
except NameError:
def callable(object):
"""Checks if given object is callable."""
return hasattr(object, "__call__")
try:
import urllib2 as urllib
except ImportError:

Loading…
Cancel
Save