loguru/tests/exceptions/output/modern/positional_only_argument.txt

21 lines
1.2 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Traceback (most recent call last):
File "tests/exceptions/source/modern/positional_only_argument.py", line 23, in <module>
main()
└ <function main at 0xDEADBEEF>
File "tests/exceptions/source/modern/positional_only_argument.py", line 19, in main
foo(1, 2, c=3)
└ <function foo at 0xDEADBEEF>
File "tests/exceptions/source/modern/positional_only_argument.py", line 15, in foo
def foo(a, /, b, *, c, **d): 1 / 0
 │ │ │ │ └ {}
 │ │ │ └ 3
 │ │ └ 2
 │ └ 1
 └ <function foo at 0xDEADBEEF>
ZeroDivisionError: division by zero