Commit ee8e513c authored by Georg Brandl's avatar Georg Brandl

Fix markup again.

parent bf8c5d29
...@@ -18,7 +18,7 @@ There are only a few functions special to module objects. ...@@ -18,7 +18,7 @@ There are only a few functions special to module objects.
is exposed to Python programs as ``types.ModuleType``. is exposed to Python programs as ``types.ModuleType``.
.. cmacro:: int PyModule_Check(PyObject *p) .. cfunction:: int PyModule_Check(PyObject *p)
Return true if *p* is a module object, or a subtype of a module object. Return true if *p* is a module object, or a subtype of a module object.
...@@ -26,7 +26,7 @@ There are only a few functions special to module objects. ...@@ -26,7 +26,7 @@ There are only a few functions special to module objects.
Allowed subtypes to be accepted. Allowed subtypes to be accepted.
.. cmacro:: int PyModule_CheckExact(PyObject *p) .. cfunction:: int PyModule_CheckExact(PyObject *p)
Return true if *p* is a module object, but not a subtype of Return true if *p* is a module object, but not a subtype of
:cdata:`PyModule_Type`. :cdata:`PyModule_Type`.
...@@ -104,7 +104,7 @@ There are only a few functions special to module objects. ...@@ -104,7 +104,7 @@ There are only a few functions special to module objects.
.. versionadded:: 2.0 .. versionadded:: 2.0
.. cmacro:: int PyModule_AddIntMacro(PyObject *module, macro) .. cfunction:: int PyModule_AddIntMacro(PyObject *module, macro)
Add an int constant to *module*. The name and the value are taken from Add an int constant to *module*. The name and the value are taken from
*macro*. For example ``PyModule_AddConstant(module, AF_INET)`` adds the int *macro*. For example ``PyModule_AddConstant(module, AF_INET)`` adds the int
...@@ -113,7 +113,7 @@ There are only a few functions special to module objects. ...@@ -113,7 +113,7 @@ There are only a few functions special to module objects.
.. versionadded:: 2.6 .. versionadded:: 2.6
.. cmacro:: int PyModule_AddStringMacro(PyObject *module, macro) .. cfunction:: int PyModule_AddStringMacro(PyObject *module, macro)
Add a string constant to *module*. Add a string constant to *module*.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment