New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use raw strings for strings with literal backslash #430

Merged
merged 1 commit into from Jul 18, 2017

Conversation

Projects
None yet
2 participants
@nresare
Contributor

nresare commented Jul 17, 2017

In python 3.6 it raises a DeprecationWarning to have strings with invalid backslash escape sequences. Changing the strings to raw strings (that doesn't try to look for escape sequences) makes the intention clearer and shuts up the DeprecationWarning

Use raw strings for strings with literal backslash
In python 3.6 it raises a DeprecationWarning to have strings with invalid backslash escape sequences. Changing the strings to raw strings (that doesn't try to look for escape sequences) makes the intention clearer and shuts up the DeprecationWarning
@takluyver

This comment has been minimized.

Member

takluyver commented Jul 18, 2017

Thanks :-)

@takluyver takluyver merged commit 94f91bd into pexpect:master Jul 18, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage remained the same at 88.994%
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment