New submission from Zackery Spytz <zsp...@gmail.com>:
The docs state that PyImport_ImportFrozenModuleObject() returns a new reference, but it actually returns an int. https://docs.python.org/3.10/c-api/import.html#c.PyImport_ImportFrozenModuleObject ---------- assignee: docs@python components: Documentation messages: 387716 nosy: ZackerySpytz, docs@python priority: normal severity: normal status: open title: The docs falsely state that PyImport_ImportFrozenModuleObject() returns a new reference versions: Python 3.10, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com