Skip to content

Commit 8458120

Browse files
committed
It's a strong ref
1 parent 00236fe commit 8458120

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/c-api/module.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -577,8 +577,8 @@ state:
577577
The function is equivalent to :c:func:`PyType_FromModuleAndSpec` followed
578578
by :c:func:`PyModule_AddType`. *base* must be either ``NULL``, a single
579579
type object, or a tuple of types.
580-
Return ``NULL`` on error; otherwise a borrowed reference to a
581-
``PyTypeObject *``, which can be assigned to a module state object.
580+
Return ``NULL`` on error; otherwise a ``PyTypeObject *``, which can
581+
be assigned to a module state object.
582582
583583
.. versionadded:: 3.10
584584
@@ -588,8 +588,8 @@ state:
588588
The function is equivalent to :c:func:`PyErr_NewExceptionWithDoc` followed
589589
by :c:func:`PyModule_AddObjectRef`. The name of the exception object is
590590
taken from the last component of *name* after dot.
591-
Return ``NULL`` on error; otherwise a borrowed reference to a
592-
``PyObject *``, which can be assigned to a module state object.
591+
Return ``NULL`` on error; otherwise ``PyObject *``, which can be assigned
592+
to a module state object.
593593
594594
.. versionadded:: 3.10
595595

0 commit comments

Comments
 (0)