Skip to content

Commit 55465c9

Browse files
committed
address review
1 parent a35cd11 commit 55465c9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/c-api/curses.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ be invoked, usually as part of the module initialisation function, to populate
3232
.. c:var:: void **PyCurses_API
3333
3434
Dynamically allocated object containing the curses C API.
35-
This variable is only available once :c:macro:`import_curses` succeeded.
35+
This variable is only available once :c:macro:`import_curses` succeeds.
3636

3737
``PyCurses_API[0]`` corresponds to :c:data:`PyCursesWindow_Type`.
3838

@@ -56,6 +56,7 @@ be invoked, usually as part of the module initialisation function, to populate
5656
.. c:macro:: PyCurses_API_pointers
5757
5858
The number of accessible fields (``4``) in :c:var:`PyCurses_API`.
59+
This number is incremented whenever new fields are added.
5960

6061

6162
.. c:var:: PyTypeObject PyCursesWindow_Type
@@ -65,7 +66,7 @@ be invoked, usually as part of the module initialisation function, to populate
6566

6667
.. c:function:: int PyCursesWindow_Check(PyObject *op)
6768
68-
Return *1* if *op* is a :class:`curses.window` instance, *0* otherwise.
69+
Return true if *op* is a :class:`curses.window` instance, false otherwise.
6970
7071
7172
The following macros are convenience macros expanding into C statements.

0 commit comments

Comments
 (0)