[issue33422] Fix and update string/byte literals in help()

Andrés Delfino report at bugs.python.org
Fri May 4 09:33:24 EDT 2018


Andrés Delfino <adelfino at gmail.com> added the comment:

Eric, I entered "r'" in the interactive prompt.

Serhiy, using the code in tokenize, I got a total of 144 combinations. For comparison, the list of symbols help() shows, after the proposed change, has 67 items.

IMHO, we should compromise. Maybe just mentioning the letters? With no quoting character. I do know that this can be confusing, since J is shown as a letter but it's used as a suffix unlike b/f/r/u...

What do you think?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33422>
_______________________________________


More information about the Python-bugs-list mailing list