parameters: (suffixes, type)
docstring: Specifies that targets with suffix from 'suffixes' have the type 'type'.
          If a different type is already specified for any of syffixes, issues an error.
docstring_summary: Specifies that targets with suffix from 'suffixes' have the type 'type'.
          If a different type is already specified for any of syffixes, issues an error.
docstring_tokens: Specifies that targets with suffix from suffixes have the type type . If a different type is already specified for any of syffixes issues an error .
function: def register_suffixes (suffixes, type):
      """ Specifies that targets with suffix from 'suffixes' have the type 'type'.
          If a different type is already specified for any of syffixes, issues an error.
      """
      assert is_iterable_typed(suffixes, basestring)
      assert isinstance(type, basestring)
      for s in suffixes:
          if s in __suffixes_to_types:
              old_type = __suffixes_to_types [s]
              if old_type != type:
                  raise BaseException ('Attempting to specify type for suffix "%s"\nOld type: "%s", New type "%s"' % (s, old_type, type))
          else:
              __suffixes_to_types [s] = type
function_tokens: def register_suffixes ( suffixes , type ) : assert is_iterable_typed ( suffixes , basestring ) assert isinstance ( type , basestring ) for s in suffixes : if s in __suffixes_to_types : old_type = __suffixes_to_types [ s ] if old_type != type : raise BaseException ( 'Attempting to specify type for suffix "%s"\nOld type: "%s", New type "%s"' % ( s , old_type , type ) ) else : __suffixes_to_types [ s ] = type