Issue 1658794: This shouldn't be there: Note that this code that uses... (original) (raw)
In 21.2.1 Background, details, hints, tips and caveats; we have the following paragraph:
The case conversion functions in the string module are affected by the locale settings. When a call to the setlocale() function changes the LC_CTYPE settings, the variables string.lowercase, string.uppercase and string.letters are recalculated. Note that this code that uses these variable through `from ... import ...', e.g. from string import letters, is not affected by subsequent setlocale() calls.
I can't make sense of the last sentence unless I pretend that "this" shouldn't be there, i.e. Note that code that uses these variable(s?) through `from ... (...).
-- Kind regards, Alf LervÄg