summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-08-02 15:31:42 +0200
committerJulian Andres Klode <jak@debian.org>2010-08-02 15:31:42 +0200
commit82ed2ce73fb57166d0e47f164f1f9bdc6c821389 (patch)
treea32cd0e8db583639755f38d9e9fc34ba6c489ecd
parentf4cd218da7c85dcbaa46bc5c857c9af72ad0bf1b (diff)
downloadpython-apt-82ed2ce73fb57166d0e47f164f1f9bdc6c821389.tar.gz
doc/library/apt_pkg.rst: Document Configuration.dump().
-rw-r--r--debian/changelog2
-rw-r--r--doc/source/library/apt_pkg.rst5
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 14ad4bf5..73b3987e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ python-apt (0.7.97) UNRELEASED; urgency=low
after them).
* python/apt_pkgmodule.cc:
- Bind pkgAcquire::Item::StatTransientNetworkError (Closes: #589010)
+ * doc/library/apt_pkg.rst:
+ - Document Configuration.dump().
[ Michael Vogt ]
* python/configuration.cc:
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index b91790db..81dafd54 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -1828,6 +1828,11 @@ Configuration and Command-line parsing
Remove the option at *key* and all of its children.
+ .. method:: dump() -> str
+
+ Return a string containing the values in the configuration object,
+ in the standard :manpage:`apt.conf(5)` format.
+
.. method:: exists(key)
Check whether an option named *key* exists in the configuration.