def __getitem__(self, item):
if item in all.CLASSES:
return lambda obj: (all.CLASSES[item].from_builtin,
(all.CLASSES[item].to_builtin(obj),),
None, None, None)
return copyreg.dispatch_table[item] # pragma: no cover
文章目录