_PyWeakref_GetWeakrefCount

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
version(!Python_2_5_Or_Later)
extern (C)
_PyWeakref_GetWeakrefCount

Meta