          if len(self.arguments) > 1:
              msg = """Only one argument accepted for directive '{directive_name}::'.
              Comments should be provided as content,
              not as an extra argument.""".format(directive_name=self.name)
              raise ValueError(msg)
  
          env = self.state.document.settings.env
          ret = []
          node = addnodes.versionmodified()
          ret.append(node)
 
</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 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       sid = transaction.savepoint()
 </s> add         sid = transaction.savepoint()
            raise self.error(msg)
          if len(self.arguments) > 1:
              msg = """Only one argument accepted for directive '{directive_name}::'.
              Comments should be provided as content,
              not as an extra argument.""".format(directive_name=self.name)
            raise self.error(msg)
  
          env = self.state.document.settings.env
          ret = []
          node = addnodes.versionmodified()
          ret.append(node)
keep keep keep keep replace keep keep keep keep keep
 Adapted uses of versionchanged/versionadded to the new form.

Refs #20104. 
docs/_ext/djangodocs.py