Skip to content
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

nresare
Copy link
Contributor

@nresare 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

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
Copy link
Member

Thanks :-)

@takluyver takluyver merged commit 94f91bd into pexpect:master Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants