diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-05-20 19:25:27 +0100 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-05-20 19:25:27 +0100 |
commit | 621820fc0fd8024067e631417ca7faada418f8dd (patch) | |
tree | bcc1cf5a1b829ed73cc09889d15d08870ffddb6f | |
parent | 7afa6391254dc176a2352475226eabf35f0d178d (diff) | |
download | markupsafe-621820fc0fd8024067e631417ca7faada418f8dd.tar.gz |
Added a tiny note on Python 3
-rw-r--r-- | README.rst | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ Markup(u'<em>Peter > 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) |