Skip to content

Commit 054bfa1

Browse files
committed
.
1 parent 7c3b8f3 commit 054bfa1

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Doc/c-api/curses.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,10 @@ be invoked, usually as part of the module initialisation function, to populate
4747
The :ref:`heap type <heap-types>` corresponding to :class:`curses.window`.
4848

4949

50-
.. c:macro:: PyCursesWindow_Check(op)
50+
.. c:func:: int PyCursesWindow_Check(PyObject *op)
5151
5252
Return *1* if *op* is an :class:`curses.window` instance, *0* otherwise.
5353
54-
The macro expansion is equivalent to:
55-
56-
.. code-block::
57-
58-
Py_IS_TYPE((op), &PyCursesWindow_Type)
59-
6054
6155
The following macros are convenience macros expanding into C statements.
6256
In particular, they can only be used as ``macro;`` or ``macro``, but not

0 commit comments

Comments
 (0)