summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/import.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-08-17 22:01:02 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2010-08-17 22:01:02 (GMT)
commit6009ece0ede4a2a39b3cfe15d53fed9e33422276 (patch)
tree27ba04aa4e96c821062225a2f04c34541b26183d /Doc/c-api/import.rst
parentf5be090bc3fafe10d699716cbe25800b5b69fa6d (diff)
downloadcpython-6009ece0ede4a2a39b3cfe15d53fed9e33422276.zip
cpython-6009ece0ede4a2a39b3cfe15d53fed9e33422276.tar.gz
cpython-6009ece0ede4a2a39b3cfe15d53fed9e33422276.tar.bz2
Replace :func: by :cfunc:
To get links to the C functions
Diffstat (limited to 'Doc/c-api/import.rst')
-rw-r--r--Doc/c-api/import.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/import.rst b/Doc/c-api/import.rst
index de03f6e..ffbabbc 100644
--- a/Doc/c-api/import.rst
+++ b/Doc/c-api/import.rst
@@ -124,8 +124,8 @@ Importing Modules
If *name* points to a dotted name of the form ``package.module``, any package
structures not already created will still not be created.
- See also :func:`PyImport_ExecCodeModuleEx` and
- :func:`PyImport_ExecCodeModuleWithPathnames`.
+ See also :cfunc:`PyImport_ExecCodeModuleEx` and
+ :cfunc:`PyImport_ExecCodeModuleWithPathnames`.
.. cfunction:: PyObject* PyImport_ExecCodeModuleEx(char *name, PyObject *co, char *pathname)
@@ -133,7 +133,7 @@ Importing Modules
Like :cfunc:`PyImport_ExecCodeModule`, but the :attr:`__file__` attribute of
the module object is set to *pathname* if it is non-``NULL``.
- See also :func:`PyImport_ExecCodeModuleWithPathnames`.
+ See also :cfunc:`PyImport_ExecCodeModuleWithPathnames`.
.. cfunction:: PyObject* PyImport_ExecCodeModuleWithPathnames(char *name, PyObject *co, char *pathname, char *cpathname)