summaryrefslogtreecommitdiff
path: root/creole/__init__.py
diff options
context:
space:
mode:
authorJensDiemer <git@jensdiemer.de>2020-01-18 19:32:48 +0100
committerJensDiemer <git@jensdiemer.de>2020-01-18 19:32:48 +0100
commitfffd319fa0841bc6d72e82f808b693e03443eff4 (patch)
treed216a7d816e25f27a76b0d40526be2180d029a8d /creole/__init__.py
parentf5bc0d6b695403c5bd3905f85b34f28548513580 (diff)
downloadcreole-fffd319fa0841bc6d72e82f808b693e03443eff4.tar.gz
remove __future__ imports
Diffstat (limited to 'creole/__init__.py')
-rw-r--r--creole/__init__.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/creole/__init__.py b/creole/__init__.py
index 6594f9d..f720b9f 100644
--- a/creole/__init__.py
+++ b/creole/__init__.py
@@ -7,10 +7,10 @@
:homepage:
http://code.google.com/p/python-creole/
-
+
:sourcecode:
http://github.com/jedie/python-creole
-
+
:PyPi:
http://pypi.python.org/pypi/python-creole/
@@ -18,7 +18,7 @@
:license: GNU GPL v3 or above, see LICENSE for more details.
"""
-from __future__ import division, absolute_import, print_function, unicode_literals
+
import warnings
@@ -49,7 +49,7 @@ def creole2html(markup_string, debug=False,
>>> creole2html('This is **creole //markup//**!')
'<p>This is <strong>creole <i>markup</i></strong>!</p>'
-
+
Info: parser_kwargs and emitter_kwargs are deprecated
"""
assert isinstance(markup_string, TEXT_TYPE), "given markup_string must be unicode!"
@@ -130,7 +130,7 @@ def html2textile(html_string, debug=False,
):
"""
convert html code into textile markup
-
+
>>> html2textile('<p>This is <strong>textile <i>markup</i></strong>!</p>')
'This is *textile __markup__*!'
"""
@@ -157,7 +157,7 @@ def html2rest(html_string, debug=False,
):
"""
convert html code into ReStructuredText markup
-
+
>>> html2rest('<p>This is <strong>ReStructuredText</strong> <em>markup</em>!</p>')
'This is **ReStructuredText** *markup*!'
"""