parameters: (*args)
return_statement: return newargs
docstring: Helper function for delegating arguments to Python string
      functions.
  
      Many of the Python string operations that have optional arguments
      do not use 'None' to indicate a default value.  In these cases,
      we need to remove all None arguments, and those following them.
docstring_summary: Helper function for delegating arguments to Python string
      functions.
docstring_tokens: Helper function for delegating arguments to Python string functions .
function: def _clean_args(*args):
      """
      Helper function for delegating arguments to Python string
      functions.
  
      Many of the Python string operations that have optional arguments
      do not use 'None' to indicate a default value.  In these cases,
      we need to remove all None arguments, and those following them.
      """
      newargs = []
      for chk in args:
          if chk is None:
              break
          newargs.append(chk)
      return newargs
function_tokens: def _clean_args ( * args ) : newargs = [ ] for chk in args : if chk is None : break newargs . append ( chk ) return newargs