wyz23x2 <[email protected]> added the comment:
I think this should be documented more clearly. Or else users might feel
surprised:
>>> print(123)
123
>>> _
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name '_' is not defined
>>> # There is an expression!?
----------
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
title: Behiavior of '_' strange in shell -> Make '_' behavior in shell more
clear
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41394>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com