parameters: (target)
return_statement: return target
docstring: Helper function to check the type of the `class name` argument specified by
      the user in a @pythonization decorator.
  
      Args:
          target (string/iterable[string]): class name(s)/prefix(es).
  
      Returns:
          list[string]: class name(s)/prefix(es) in `target`, with no repetitions.
docstring_summary: Helper function to check the type of the `class name` argument specified by
      the user in a @pythonization decorator.
docstring_tokens: Helper function to check the type of the class name argument specified by the user in a @pythonization decorator .
function: def _check_target(target):
      '''
      Helper function to check the type of the `class name` argument specified by
      the user in a @pythonization decorator.
  
      Args:
          target (string/iterable[string]): class name(s)/prefix(es).
  
      Returns:
          list[string]: class name(s)/prefix(es) in `target`, with no repetitions.
      '''
  
      if _is_string(target):
          _check_no_namespace(target)
          target = [ target ]
      else:
          for name in target:
              if _is_string(name):
                  _check_no_namespace(name)
              else:
                  raise TypeError('Invalid type of "target" argument in '
                                  '@pythonization: must be string or iterable of '
                                  'strings')
          # Remove possible duplicates
          target = list(set(target))
  
      return target
function_tokens: def _check_target ( target ) : if _is_string ( target ) : _check_no_namespace ( target ) target = [ target ] else : for name in target : if _is_string ( name ) : _check_no_namespace ( name ) else : raise TypeError ( 'Invalid type of "target" argument in ' '@pythonization: must be string or iterable of ' 'strings' ) # Remove possible duplicates target = list ( set ( target ) ) return target