  
  In Python 3, there's simply :meth:`~object.__str__`, which must return ``str``
  (text).
  
  (It is also possible to define ``__bytes__()``, but Django application have
  little use for that method, because they hardly ever deal with
  ``bytes``.)
  
  Django provides a simple way to define :meth:`~object.__str__` and
  :meth:`~object.__unicode__` methods that work on Python 2 and 3: you must
  define a :meth:`~object.__str__` method returning text and to apply the
  :func:`~django.utils.encoding.python_2_unicode_compatible` decorator.
 
</s> remove under Python 3, use the :func:`str` builtin::
 </s> add under Python 3, use the :class:`str` builtin:: </s> remove   use a Python standard library module such as :mod:`urllib` or
  :mod:`urllib2`.
 </s> add   use a Python standard library module such as :mod:`urllib`. </s> remove     failure. Similar to unittest's :meth:`~unittest.TestCase.assertRaisesRegexp`
 </s> add     failure. Similar to unittest's :meth:`~unittest.TestCase.assertRaisesRegex` </s> remove     A Python :class:`~Cookie.SimpleCookie` object, containing the current values
    of all the client cookies. See the documentation of the :mod:`Cookie` module
    for more.
 </s> add     A Python :class:`~http.cookies.SimpleCookie` object, containing the current
    values of all the client cookies. See the documentation of the
    :mod:`http.cookies` module for more.
(It is also possible to define :meth:`~object.__bytes__`, but Django application
have little use for that method, because they hardly ever deal with ``bytes``.)
  
  In Python 3, there's simply :meth:`~object.__str__`, which must return ``str``
  (text).
  
(It is also possible to define :meth:`~object.__bytes__`, but Django application
have little use for that method, because they hardly ever deal with ``bytes``.)
(It is also possible to define :meth:`~object.__bytes__`, but Django application
have little use for that method, because they hardly ever deal with ``bytes``.)
(It is also possible to define :meth:`~object.__bytes__`, but Django application
have little use for that method, because they hardly ever deal with ``bytes``.)
  
  Django provides a simple way to define :meth:`~object.__str__` and
  :meth:`~object.__unicode__` methods that work on Python 2 and 3: you must
  define a :meth:`~object.__str__` method returning text and to apply the
  :func:`~django.utils.encoding.python_2_unicode_compatible` decorator.
keep keep keep keep replace replace replace keep keep keep keep keep
 Updated doc links to point to Python 3 documentation 
docs/topics/python3.txt