Serhiy Storchaka <[email protected]> added the comment:
In Python 3.8+ I got:
Traceback (most recent call last):
File "/home/serhiy/py/cpython/issue37971.py", line 10, in <module>
def foo():
File "/home/serhiy/py/cpython/issue37971.py", line 2, in printingdec
raise Exception()
Exception
The traceback refers to the line where the function is defined.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37971>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com