parameters: (loc,strg)
return_statement: return 1 if 0<loc<len(s) and s[loc-1] == '\n' else loc - s.rfind("\n", 0, loc)
docstring: Returns current column within a string, counting newlines as line separators.
     The first column is number 1.
  
     Note: the default parsing behavior is to expand tabs in the input string
     before starting the parsing process.  See L{I{ParserElement.parseString}<ParserElement.parseString>} for more information
     on parsing strings containing C{<TAB>}s, and suggested methods to maintain a
     consistent view of the parsed string, the parse location, and line and column
     positions within the parsed string.
docstring_summary: Returns current column within a string, counting newlines as line separators.
     The first column is number 1.
docstring_tokens: Returns current column within a string counting newlines as line separators . The first column is number 1 .
function: def col (loc,strg):
      """Returns current column within a string, counting newlines as line separators.
     The first column is number 1.
  
     Note: the default parsing behavior is to expand tabs in the input string
     before starting the parsing process.  See L{I{ParserElement.parseString}<ParserElement.parseString>} for more information
     on parsing strings containing C{<TAB>}s, and suggested methods to maintain a
     consistent view of the parsed string, the parse location, and line and column
     positions within the parsed string.
     """
      s = strg
      return 1 if 0<loc<len(s) and s[loc-1] == '\n' else loc - s.rfind("\n", 0, loc)
function_tokens: def col ( loc , strg ) : s = strg return 1 if 0 < loc < len ( s ) and s [ loc - 1 ] == '\n' else loc - s . rfind ( "\n" , 0 , loc )