PyCredHandle.Detach

long = Detach()

Disassociates object from handle and returns integer value of handle,