diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2012-01-19 22:33:02 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2012-01-19 22:33:02 +0000 |
| commit | 0f0ec1ede0a1a94585ba26a31422455bb47a3b1e (patch) | |
| tree | abe2df9bbe6b49b9e9d63b642c42bc7919601d0b /docutils/examples.py | |
| parent | afcae1bc57453360e476b9edf206357cea44d989 (diff) | |
| download | docutils-0f0ec1ede0a1a94585ba26a31422455bb47a3b1e.tar.gz | |
Cleanup: Use True/False for boolean values
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@7320 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/examples.py')
| -rw-r--r-- | docutils/examples.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docutils/examples.py b/docutils/examples.py index 3826aff3d..9e304ea39 100644 --- a/docutils/examples.py +++ b/docutils/examples.py @@ -15,7 +15,8 @@ from docutils import core, io def html_parts(input_string, source_path=None, destination_path=None, - input_encoding='unicode', doctitle=1, initial_header_level=1): + input_encoding='unicode', doctitle=True, + initial_header_level=1): """ Given an input string, returns a dictionary of HTML document parts. @@ -50,7 +51,7 @@ def html_parts(input_string, source_path=None, destination_path=None, def html_body(input_string, source_path=None, destination_path=None, input_encoding='unicode', output_encoding='unicode', - doctitle=1, initial_header_level=1): + doctitle=True, initial_header_level=1): """ Given an input string, returns an HTML fragment as a string. |
