|
Locale-Sensitive Python MethodInternationalization (I18n) Method OverviewTherstrip function returns a string without the given characters at the end of the string. Defaults to space.
Click here for more information. I18n IssuesPython 3: Python 3 has Unicode strings so this should work correctly. Python 2: Python 2 defaults to ascii strings. Be sure to use u prefix to make Unicode strings Globalyzer will detect this method and report it as an I18n issue. If you have determined that the call is being handled correctly, you can use Globalyzer's Ignore Comment functionality to ensure that it isn't picked up in a subsequent scan. |