Fixed #18363 -- Added Python 3 compatibility layer.

Thanks Vinay Sajip for the support of his django3 branch
and Alex Gaynor, kezabelle, YorikSar for the review.
This commit is contained in:
Claude Paroz 2012-06-07 18:36:26 +02:00
parent 87ff89d12d
commit 5e6ded2e58
5 changed files with 365 additions and 1 deletions

View file

@ -65,7 +65,8 @@ Python 2 with unicode literals or Python 3::
my_string = b"This is a bytestring"
my_unicode = "This is an Unicode string"
See also :doc:`Python 3 compatibility </topics/python3>`.
.. admonition:: Warning