Lichen

tests/class_names.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 class C:     2     pass     3      4 def c():     5     return 456     6      7 def f():     8     return C()     9     10 print f()                       # 123    11     12 C = c    13     14 print f()                       # 456