original_docstring: 
      Iterate over the top-level parentheses of text
      
docstring: Iterate over the top-level parentheses of text
docstring_tokens: Iterate over the top - level parentheses of text
code: def iter_paren(text, delim=None):
      """
      Iterate over the top-level parentheses of text
      """
  
      depth = 0
      first_paren = None
  
      for i, c in enumerate(text):
          if c == "(":
              depth += 1
              if depth == 1:
                  first_paren = i + 1
  
          elif c == ")" and depth > 0:
              if depth == 1:
                  yield (first_paren, i)
  
              depth -= 1
  
          if depth == 0 and text[i:].startswith(delim):
              break
code_tokens: def iter_paren ( text , delim = None ) : depth = 0 first_paren = None for i , c in enumerate ( text ) : if c == "(" : depth += 1 if depth == 1 : first_paren = i + 1 elif c == ")" and depth > 0 : if depth == 1 : yield ( first_paren , i ) depth -= 1 if depth == 0 and text [ i : ] . startswith ( delim ) : break
short_docstring: Iterate over the top-level parentheses of text
short_docstring_tokens: Iterate over the top - level parentheses of text
comment: """
      Iterate over the top-level parentheses of text
      """