Lichen

tests/tuple_unpack_bad.py

934:2989aab1b4f7
2021-06-29 Paul Boddie 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.
     1 def good(t):     2     a, b, c = t     3      4 def bad(t):     5     a = t.__get_single_item_unchecked__(0)     6      7 t = 1, 2, 3     8 good(t)     9 bad(t)