old_contents: from .base import Base, Attribute, Element
  from .meta import version as VERSION
  from .saml import *
  from .samlp import *
  
  __all__ = [
      'VERSION',
      'Base',
      'Attribute',
      'Element'
  ]
  
  
  
  def deserialize(xml):
      from .base import _element_registry
  
      # Resolve the xml into an element.
      element = _element_registry.get(xml.tag)
      if not element:
          return None
  
      # Deserialize the xml and return.
      return element.deserialize(xml)
  
new_contents: from .base import Base, Attribute, Element
  from .meta import version as VERSION
  from .saml import *
  from .samlp import *
  
  __all__ = [
      'VERSION',
      'Base',
      'Attribute',
      'Element'
  ]
  
  
  def deserialize(xml):
      from .base import _element_registry
  
      # Resolve the xml into an element.
      element = _element_registry.get(xml.tag)
      if not element:
          return None
  
      # Deserialize the xml and return.
      return element.deserialize(xml)
  
subject: Fix PEP8 error.