tools/json_comment_eater/json_comment_eater.py
def _Rcount(string, chars):
  '''Returns the number of consecutive characters from |chars| that occur at the
  end of |string|.
  '''
  return len(string) - len(string.rstrip(chars))
Returns the number of consecutive characters from |chars| that occur at the
  end of |string|.
  
Returns the number of consecutive characters from |chars| that occur at the
end of |string|.
Returns the number of consecutive characters from |chars| that occur at the end of |string| .
def _Rcount(string, chars):
  return len(string) - len(string.rstrip(chars))
def _Rcount ( string , chars ) : return len ( string ) - len ( string . rstrip ( chars ) )
Returns the number of consecutive characters from |chars| that occur at the
end of |string|.
Returns the number of consecutive characters from |chars| that occur at the end of |string| .
'''Returns the number of consecutive characters from |chars| that occur at the
  end of |string|.
  '''
string
chars