Raymond Hettinger wrote: > When the result of an expression is None, the interactive interpreter > correctly suppresses the display of the result. However, it also > suppresses the underscore assignment. I'm not sure if that is correct > or desirable because a subsequent statement has no way of knowing > whether the underscore assignment is current or whether it represents an > earlier non-None result. why would a subsequent statement need to know that ? are you sure you didn't mean "user" instead of "subsequent statement" ? for users, it's actually quite simple to figure out what's in the _ variable: it's the most recently *printed* result. if you cannot see it, it's not in there. </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4