kuroko/test/testGetattrDir.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

4 lines
219 B
Plaintext

['__init__', '__str__', '__repr__', '__getattr__', '__class__', '__dir__', '__hash__', '__func__', '__module__', '_dict']
1
['__class__', '__str__', '__dir__', '__repr__', '__hash__', '__func__', '__module__', 'butts']