????
Current Path : /proc/self/root/proc/self/root/lib/python3.6/site-packages/pyasn1/compat/ |
Current File : //proc/self/root/proc/self/root/lib/python3.6/site-packages/pyasn1/compat/calling.py |
# # This file is part of pyasn1 software. # # Copyright (c) 2005-2017, Ilya Etingof <etingof@gmail.com> # License: http://pyasn1.sf.net/license.html # from sys import version_info __all__ = ['callable'] if (2, 7) < version_info[:2] < (3, 2): import collections def callable(x): return isinstance(x, collections.Callable) else: callable = callable