  
      my_string = b"This is a bytestring"
      my_unicode = "This is an Unicode string"
  
  See also :doc:`Python 3 compatibility </topics/python3>`.
  
  .. warning::
  
      A bytestring does not carry any information with it about its encoding.
      For that reason, we have to make an assumption, and Django assumes that all
 
</s> remove     my_string = b"This is a bytestring"
    my_unicode = "This is an Unicode string"
 </s> add         my_string = b"This is a bytestring"
        my_unicode = "This is an Unicode string" </s> remove     from __future__ import unicode_literals
 </s> add         from __future__ import unicode_literals </s> remove Python 2 with unicode literals or Python 3::
 </s> add     Python 2 with unicode literals or Python 3:: </s> remove Python 2 legacy::
 </s> add     Python 2 legacy:: </s> remove     my_string = "This is a bytestring"
    my_unicode = u"This is an Unicode string"
 </s> add         my_string = "This is a bytestring"
        my_unicode = u"This is an Unicode string"
    See also :doc:`Python 3 compatibility </topics/python3>`.
  
      my_string = b"This is a bytestring"
      my_unicode = "This is an Unicode string"
  
    See also :doc:`Python 3 compatibility </topics/python3>`.
  
  .. warning::
  
      A bytestring does not carry any information with it about its encoding.
      For that reason, we have to make an assumption, and Django assumes that all
keep keep keep keep replace keep keep keep keep keep
 Adapted uses of versionchanged/versionadded to the new form.

Refs #20104. 
docs/ref/unicode.txt