pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/26dfb2771236bfd96cdaa1081103f75141ecff47

ylesheet" href="https://github.githubassets.com/assets/global-d18f184ea1a06a2c.css" /> gh-121749: Fix discrepancy in docs for `PyModule_AddObjectRef` (GH-12… · python/cpython@26dfb27 · GitHub
Skip to content

Commit 26dfb27

Browse files
gh-121749: Fix discrepancy in docs for PyModule_AddObjectRef (GH-121750)
1 parent cae1526 commit 26dfb27

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/c-api/module.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ state:
517517
518518
On success, return ``0``. On error, raise an exception and return ``-1``.
519519
520-
Return ``NULL`` if *value* is ``NULL``. It must be called with an exception
520+
Return ``-1`` if *value* is ``NULL``. It must be called with an exception
521521
raised in this case.
522522
523523
Example usage::
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix documentation for :c:func:`PyModule_AddObjectRef`.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy