It is similar to PyModule_AddObject(), not to itself.
(Contributed by Alex Gaynor in :issue:`41784`.)
* Added :c:func:`PyModule_AddObjectRef` function: similar to
- :c:func:`PyModule_AddObjectRef` but don't steal a reference to the value on
+ :c:func:`PyModule_AddObject` but don't steal a reference to the value on
success.
(Contributed by Victor Stinner in :issue:`1635741`.)
Added :c:func:`PyModule_AddObjectRef` function: similar to
-:c:func:`PyModule_AddObjectRef` but don't steal a reference to the value on
+:c:func:`PyModule_AddObject` but don't steal a reference to the value on
success. Patch by Victor Stinner.