summaryrefslogtreecommitdiff
path: root/doc/source/c++
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-06-10 10:52:12 +0200
committerJulian Andres Klode <jak@debian.org>2015-06-10 10:52:12 +0200
commit47bbca79a52b04a6fed39c53b9e6a98350e95695 (patch)
tree0bac15a42b27f4e614d7d21a3ce53ea153011385 /doc/source/c++
parent6e87927c689ae6d61d1658ab60d9bc67c4c44d05 (diff)
downloadpython-apt-47bbca79a52b04a6fed39c53b9e6a98350e95695.tar.gz
sphinx docs: Fix remaining instances of old C syntax to use domains
Now it really stopped complaining
Diffstat (limited to 'doc/source/c++')
-rw-r--r--doc/source/c++/embedding.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/c++/embedding.rst b/doc/source/c++/embedding.rst
index 754ad398..445e9c6f 100644
--- a/doc/source/c++/embedding.rst
+++ b/doc/source/c++/embedding.rst
@@ -12,7 +12,7 @@ To use the python-apt C++ bindings, first include the
#include <python-apt/python-apt.h>
Now, the module needs to be initialized. This is done by calling the function
-:cfunc:`import_apt_pkg`. This function returns 0 on success and a negative
+:c:func:`import_apt_pkg`. This function returns 0 on success and a negative
value in case of failure::
if (import_apt_pkg() < 0)