diff options
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/c++/embedding.rst | 2 | ||||
-rw-r--r-- | doc/source/library/apt_pkg.rst | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst index 4fc875c5..f8ba186a 100644 --- a/doc/source/library/apt_pkg.rst +++ b/doc/source/library/apt_pkg.rst @@ -487,7 +487,7 @@ Installation ordering with :class:`OrderList` .. class:: OrderList(depcache: DepCache) - Represent a :ctype:`pkgOrderList`, used for installation + Represent a :c:type:`pkgOrderList`, used for installation ordering. This class provides several methods and attributes, is complicated and should not be used by normal programs. |