Python.Runtime.ClassBase.tp_hash C# (CSharp) Метод

tp_hash() приватный Метод

private tp_hash ( IntPtr ob ) : IntPtr
ob System.IntPtr
Результат System.IntPtr
	public static IntPtr tp_hash(IntPtr ob) {
	    CLRObject co = GetManagedObject(ob) as CLRObject;
	    if (co == null) {
		return Exceptions.RaiseTypeError("unhashable type");
	    }
	    return new IntPtr(co.inst.GetHashCode());
	}