summaryrefslogtreecommitdiff
path: root/docutils
diff options
context:
space:
mode:
authorwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-05-25 13:00:33 +0000
committerwiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2006-05-25 13:00:33 +0000
commit870cfdfee3b85a08fad8746941633de1d1ddac4e (patch)
treebef7017fa7b04f1e01eab711b2229074a3272089 /docutils
parent1d2df07a408bab43d1a07a0f22cb9a96393eeec8 (diff)
downloaddocutils-870cfdfee3b85a08fad8746941633de1d1ddac4e.tar.gz
fixed docstring of publish_from_doctree;
see http://thread.gmane.org/gmane.text.docutils.user/2852 git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@4566 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
-rw-r--r--docutils/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/docutils/core.py b/docutils/core.py
index 6f99fa8c1..f68f74cea 100644
--- a/docutils/core.py
+++ b/docutils/core.py
@@ -468,9 +468,9 @@ def publish_from_doctree(document, destination_path=None,
settings_overrides=None, config_section=None,
enable_exit_status=None):
"""
- Set up & run a `Publisher` to render from an existing document tree data
- structure, for programmatic use with string I/O. Return a pair of encoded
- string output and document parts.
+ Set up & run a `Publisher` to render from an existing document
+ tree data structure, for programmatic use with string I/O. Return
+ the encoded string output.
Note that document.settings is overridden; if you want to use the settings
of the original `document`, pass settings=document.settings.