]> granicus.if.org Git - python/commitdiff
Fix markup again.
authorGeorg Brandl <georg@python.org>
Sat, 26 Jan 2008 13:41:21 +0000 (13:41 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 26 Jan 2008 13:41:21 +0000 (13:41 +0000)
Doc/c-api/module.rst

index 4008d1a43c02c35053608e6da9979c3c63b38dfd..9d16ef560cb2345beeb6363fd3ec1b2dff18d91d 100644 (file)
@@ -18,7 +18,7 @@ There are only a few functions special to module objects.
    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.
 
@@ -26,7 +26,7 @@ There are only a few functions special to module objects.
       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
    :cdata:`PyModule_Type`.
@@ -104,7 +104,7 @@ There are only a few functions special to module objects.
 
    .. 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 
    *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.
 
    .. versionadded:: 2.6
 
-.. cmacro:: int PyModule_AddStringMacro(PyObject *module, macro)
+.. cfunction:: int PyModule_AddStringMacro(PyObject *module, macro)
 
    Add a string constant to *module*.