2021-06-29 | Paul Boddie | file changeset files shortlog | Renamed the utf8string class to unicode, eliminating the unicode function. This means that the simple case of merely returning an object if it is already a Unicode object no longer occurs when using the unicode callable, but such behaviour might be better supported with more general customised instantiation functionality. |
paul@845 | 1 | def good(t): |
paul@845 | 2 | a, b, c = t |
paul@845 | 3 | |
paul@845 | 4 | def bad(t): |
paul@845 | 5 | a = t.__get_single_item_unchecked__(0) |
paul@845 | 6 | |
paul@845 | 7 | t = 1, 2, 3 |
paul@845 | 8 | good(t) |
paul@845 | 9 | bad(t) |