Home
last modified time | relevance | path

Searched refs:obtype (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
Dpickletools.py710 def __init__(self, name, obtype, doc): argument
714 assert isinstance(obtype, type) or isinstance(obtype, tuple)
715 if isinstance(obtype, tuple):
716 for contained in obtype:
718 self.obtype = obtype
729 obtype=int,
734 obtype=long,
739 obtype=(int, long, bool),
745 obtype=(bool,),
750 obtype=float,
[all …]
/external/python/cpython3/Lib/
Dpickletools.py955 def __init__(self, name, obtype, doc): argument
959 assert isinstance(obtype, type) or isinstance(obtype, tuple)
960 if isinstance(obtype, tuple):
961 for contained in obtype:
963 self.obtype = obtype
974 obtype=int,
979 obtype=(int, bool),
984 obtype=bool,
989 obtype=float,
994 obtype=(bytes, str),
[all …]