8000 improve comment for `DICT_ADD_INT_VALUE` · python/cpython@32996a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 32996a1

Browse files
committed
improve comment for DICT_ADD_INT_VALUE
1 parent 356b00c commit 32996a1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Modules/_cursesmodule.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,10 @@ static char *CURSES_SCREEN_ENCODING = NULL;
217217
} while (0)
218218

219219
/*
220-
* Equivalent to DICT[NAME] = VALUE; on error, jump to the 'error' label.
220+
* Equivalent to DICT[NAME] = value, where 'value' is
221+
* the Python int obtained from a C integer VALUE.
222+
*
223+
* On error, jump to the 'error' label.
221224
*
222225
* Parameters
223226
*

0 commit comments

Comments
 (0)
0