code: def complex_type(name=None):
      '''Decorator for registering complex types'''
      def wrapped(cls):
          ParseType.type_mapping[name or cls.__name__] = cls
          return cls
      return wrappef complex_type(name=None):
      '''Decorator for registering complex types'''
      def wrapped(cls):
          ParseType.type_mapping[name or cls.__name__] = cls
          return cls
      return wrapped
docs: Decorator for registering complex types