You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
psrGROUP/env/Lib/site-packages/jsonpickle/compat.py

19 lines
378 B

"""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_