Skip to content

Commit d025d17

Browse files
zklausvstinner
andcommitted
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 5c18587 commit d025d17

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
2626
enabling an unsupported one) by core dev consensus. Entries should be removed
2727
following :pep:`387`.
2828

29-
The following attributes are available in cpython:
29+
The following attributes are available in CPython:
3030

3131
*pointer_bits* is the width of pointers in bits, as an integer, equivalent
3232
to ``8 * sizeof(void *)``, i.e. usually ``32`` or ``64``.

Python/sysmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3699,7 +3699,7 @@ make_abi_info(void)
36993699
return ns;
37003700

37013701
error:
3702-
Py_CLEAR(abi_info);
3702+
Py_DECREF(abi_info);
37033703
return NULL;
37043704
}
37053705

0 commit comments

Comments
 (0)