def _AddClearExtensionMethod(cls):
  """Helper for _AddMessageMethods()."""
  def ClearExtension(self, extension_handle):
    _VerifyExtensionHandle(self, extension_handle)


    if self._fields in extension_handle:
      del self._fields[extension_handle]
    self._Modified()
  cls.ClearExtension = ClearExtension
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/internal/python_message.py/_AddClearExtensionMethod/swapped operands of `in`