parameters: (s)
docstring: Return the number of initial spaces in a string.
  
      Note that tabs are counted as a single space.  For now, we do *not* support
      mixing of tabs and spaces in the user's input.
  
      Parameters
      ----------
      s : string
  
      Returns
      -------
      n : int
docstring_summary: Return the number of initial spaces in a string.
docstring_tokens: Return the number of initial spaces in a string .
function: def num_ini_spaces(s):
      """Return the number of initial spaces in a string.
  
      Note that tabs are counted as a single space.  For now, we do *not* support
      mixing of tabs and spaces in the user's input.
  
      Parameters
      ----------
      s : string
  
      Returns
      -------
      n : int
      """
  
      ini_spaces = ini_spaces_re.match(s)
      if ini_spaces:
          return ini_spaces.end()
      else:
          return 0
function_tokens: def num_ini_spaces ( s ) : ini_spaces = ini_spaces_re . match ( s ) if ini_spaces : return ini_spaces . end ( ) else : return 0