Created
September 15, 2020 16:07
-
-
Save kokimame/a5c7d31509c0ce84a9982dbbbdd26869 to your computer and use it in GitHub Desktop.
Good and bad way to change tuple values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tex_strings = tuple(self.hyphenation(ts) for ts in tex_strings) | |
| # tex_strings = list(tex_strings) | |
| # for i, s in enumerate(tex_strings): | |
| # tex_strings[i] = self.hyphenation(s) | |
| # tex_strings = tuple(tex_strings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment