parameters: (path)
docstring: Returns the contents of the first line in `path` that starts with a digit.
docstring_summary: Returns the contents of the first line in `path` that starts with a digit.
docstring_tokens: Returns the contents of the first line in path that starts with a digit .
function: def get_official_milestone(path):
      """
      Returns the contents of the first line in `path` that starts with a digit.
      """
  
      with open(path) as fp:
          for line in fp:
              line = line.strip()
              if line[:1].isdigit():
                  return line
  
      raise Exception("Didn't find a line that starts with a digit.")
function_tokens: def get_official_milestone ( path ) : with open ( path ) as fp : for line in fp : line = line . strip ( ) if line [ : 1 ] . isdigit ( ) : return line raise Exception ( "Didn't find a line that starts with a digit." )