File size: 378 Bytes
99c332d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | """jsonpickle.compat is a deprecated private module and will be removed in the future"""
import queue # noqa
import sys
from collections.abc import Iterator as abc_iterator # noqa
PY_MAJOR = sys.version_info[0]
class_types = (type,)
iterator_types = (type(iter('')),)
string_types = (str,)
numeric_types = (int, float)
ustr = str
def iterator(class_):
return class_
|