  Python 2 with unicode literals or Python 3::
  
      from __future__ import unicode_literals
  
      my_string = b"This is a bytestring"
      my_unicode = "This is an Unicode string"
  
  See also :doc:`Python 3 compatibility </topics/python3>`.
  
  .. warning::
  
 
</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     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" </s> remove See also :doc:`Python 3 compatibility </topics/python3>`.
 </s> add     See also :doc:`Python 3 compatibility </topics/python3>`. </s> remove Python 2 legacy::
 </s> add     Python 2 legacy::
        my_string = b"This is a bytestring"
        my_unicode = "This is an Unicode string"
  Python 2 with unicode literals or Python 3::
  
      from __future__ import unicode_literals
  
        my_string = b"This is a bytestring"
        my_unicode = "This is an Unicode string"
        my_string = b"This is a bytestring"
        my_unicode = "This is an Unicode string"
  
  See also :doc:`Python 3 compatibility </topics/python3>`.
  
  .. warning::
  
keep keep keep keep replace replace keep keep keep keep keep
 Adapted uses of versionchanged/versionadded to the new form.

Refs #20104. 
docs/ref/unicode.txt