File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -577,8 +577,8 @@ state:
577
577
The function is equivalent to :c:func: `PyType_FromModuleAndSpec ` followed
578
578
by :c:func: `PyModule_AddType `. *base * must be either ``NULL ``, a single
579
579
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.
582
582
583
583
.. versionadded :: 3.10
584
584
@@ -588,8 +588,8 @@ state:
588
588
The function is equivalent to :c:func: `PyErr_NewExceptionWithDoc ` followed
589
589
by :c:func: `PyModule_AddObjectRef `. The name of the exception object is
590
590
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.
593
593
594
594
.. versionadded :: 3.10
595
595
You can’t perform that action at this time.
0 commit comments