[issue41394] Make '_' behavior in shell more clear

2020-07-25 Thread Karthikeyan Singaravelan


Karthikeyan Singaravelan  added the comment:

There is also some docs for _ at 
https://docs.python.org/3/reference/lexical_analysis.html#reserved-classes-of-identifiers

--
nosy: +xtreak

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41394] Make '_' behavior in shell more clear

2020-07-25 Thread Eric V. Smith


Eric V. Smith  added the comment:

I haven't checked to see what's documented. I'm sure we'd accept a patch that 
improves the documentation if it's lacking.

--
nosy: +eric.smith

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue41394] Make '_' behavior in shell more clear

2020-07-25 Thread wyz23x2


wyz23x2  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 "", line 1, in  
  
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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com