[New-bugs-announce] [issue43327] The docs falsely state that PyImport_ImportFrozenModuleObject() returns a new reference

Zackery Spytz report at bugs.python.org
Fri Feb 26 04:39:06 EST 2021


New submission from Zackery Spytz <zspytz at 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 at python
components: Documentation
messages: 387716
nosy: ZackerySpytz, docs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue43327>
_______________________________________


More information about the New-bugs-announce mailing list