Lines Matching refs:cls
72 cls = type(x)
74 copier = _copy_dispatch.get(cls)
78 if issubclass(cls, type):
82 copier = getattr(cls, "__copy__", None)
86 reductor = dispatch_table.get(cls)
98 raise Error("un(shallow)copyable object of type %s" % cls)
142 cls = type(x)
144 copier = _deepcopy_dispatch.get(cls)
148 if issubclass(cls, type):
155 reductor = dispatch_table.get(cls)
168 "un(deep)copyable object of type %s" % cls)