result_type operator()(const argument_type& arg) const { return static_cast<result_type>((long)PyObject_Hash(arg.ptr())); }