kuroko/test/testAnnotations.krk.expect
2021-04-14 22:32:51 +09:00

10 lines
306 B
Plaintext

I am a function.
[42]
{'return': <class 'list'>, 'a': <class 'int'>, 'b': <class 'float'>}
{'return': None, 'anint': <class 'int'>, 'self': <class '__main__.Foo'>, 'adict': 'dict[str,object]'}
I am a method taking a dict.
None
{'astr': <class 'str'>, 'abool': <class 'bool'>}
I return a Foo? Amazing!
True