[docs] [issue35475] Docs do not show PyImport_AddModuleObject() returns a borrowed reference.

Aaqa Ishtyaq report at bugs.python.org
Thu Dec 13 04:54:31 EST 2018


Aaqa Ishtyaq <aaqaishtyaq at gmail.com> added the comment:

I was going through the source code to understand what is going on, but I can't find any function that returns a borrowed reference for 'PyImport_AddModuleObject'.

Also, should I need to familiar with these macros and how they work?
https://docs.python.org/3/c-api/refcounting.html

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35475>
_______________________________________


More information about the docs mailing list