zetasql/resolved_ast/gen_resolved_ast.py
def _Trim(s):
  """Remove double blank lines and trailing spaces from string."""
  s = re.sub(r'  *\n', r'\n', s)
  s = re.sub(r'\n\n\n*', r'\n\n', s)
  return s
Remove double blank lines and trailing spaces from string.
Remove double blank lines and trailing spaces from string.
Remove double blank lines and trailing spaces from string .
def _Trim(s):
  s = re.sub(r'  *\n', r'\n', s)
  s = re.sub(r'\n\n\n*', r'\n\n', s)
  return s
def _Trim ( s ) : s = re . sub ( r'  *\n' , r'\n' , s ) s = re . sub ( r'\n\n\n*' , r'\n\n' , s ) return s
Remove double blank lines and trailing spaces from string.
Remove double blank lines and trailing spaces from string .
"""Remove double blank lines and trailing spaces from string."""
s