315
343
return (copyreg._reconstructor, (self.__class__, object, None), self.__getstate__())
319
356
__class__ = property(new_method_proxy(operator.attrgetter("__class__")))
320
357
__eq__ = new_method_proxy(operator.eq)
321
359
__hash__ = new_method_proxy(hash)
322
360
__bool__ = new_method_proxy(bool) # Python 3
323
361
__nonzero__ = __bool__ # Python 2