> I'm wondering what the rationale is for hash comments yielding a > continuation prompt (PS2) in the interactive interpreter. I'd like to > put such comments in interactive examples, but the output is hard to follow: > > >>> a = 5 > >>> # and now for some multiplication > ... > >>> a * 10 > 50 It's a bug -- but not easy to fix or it would have been fixed long ago. Probably the lexter could be hacked to fix this, but be careful that a change doesn't botch all the other special cases! --Guido van Rossum (home page: http://www.python.org/~guido/)
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