kuroko/test/testFStrings.krk.expect
K Lange 8e1f5f0565 repr classes as <class 'module.Class'> like Python
- We were using "<type ...>" like Python2 does for built-ins?
  But even Python 2 called user classes "<class ...>" - Python 3
  calls both built-ins and user classes "class".
- Check if there's a __module__ name and use that as well, now
  we look even more like Python!
2021-02-24 22:50:51 +09:00

7 lines
137 B
Plaintext

Regular string
3
3 with a string after
with a string before 3
with 3<class 'object'> nothing in between
37[]{} with some fun expressions