Skip to content

Conversation

@andresdelfino
Copy link
Contributor

@andresdelfino andresdelfino commented May 5, 2018

…byte/string literals on pydoc. (GH-6701)

Also update the list of string prefixes..
(cherry picked from commit b2043bb)

Co-authored-by: Andrés Delfino adelfino@gmail.com

https://bugs.python.org/issue33422

…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 ("'", '"')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missed strip().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😅

@serhiy-storchaka serhiy-storchaka self-assigned this May 6, 2018
@serhiy-storchaka serhiy-storchaka merged commit c40eeeb into python:2.7 May 7, 2018
@andresdelfino andresdelfino deleted the backport-b2043bb-2.7 branch May 8, 2018 22:01
@serhiy-storchaka serhiy-storchaka removed their assignment Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants