[2.7] bpo-33422: Fix quotation marks getting deleted when looking up … by andresdelfino · Pull Request #6712 · python/cpython
Conversation
…byte/string literals on pydoc. (pythonGH-6701) Also update the list of string prefixes.. (cherry picked from commit b2043bb) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
| except (KeyboardInterrupt, EOFError): | ||
| break | ||
| request = strip(replace(request, '"', '', "'", '')) | ||
| if (len(request) > 2 and request[0] == request[-1] in ("'", '"') |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed strip().
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😅
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters