summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2013-05-20 19:25:27 +0100
committerArmin Ronacher <armin.ronacher@active-4.com>2013-05-20 19:25:27 +0100
commit621820fc0fd8024067e631417ca7faada418f8dd (patch)
treebcc1cf5a1b829ed73cc09889d15d08870ffddb6f
parent7afa6391254dc176a2352475226eabf35f0d178d (diff)
downloadmarkupsafe-621820fc0fd8024067e631417ca7faada418f8dd.tar.gz
Added a tiny note on Python 3
-rw-r--r--README.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 83b6236..cc79e28 100644
--- a/README.rst
+++ b/README.rst
@@ -12,7 +12,8 @@ Markup(u'<em>Peter &gt; Lustig</em>')
If you want to make an object unicode that is not yet unicode
but don't want to lose the taint information, you can use the
-`soft_unicode` function:
+`soft_unicode` function. (On Python 3 you can also use `soft_str` which
+is a different name for the same function).
>>> from markupsafe import soft_unicode
>>> soft_unicode(42)