Skip to content

Fix invalid escape sequences#156

Draft
Mirochill wants to merge 1 commit into
takluyver:masterfrom
Mirochill:fix-150-invalid-escapes
Draft

Fix invalid escape sequences#156
Mirochill wants to merge 1 commit into
takluyver:masterfrom
Mirochill:fix-150-invalid-escapes

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • Escape the bash prompt marker literals so Python no longer treats \[ and \$ as invalid string escapes.
  • Escape the displayJS docstring example's backslash so the documented shell example still contains \!.

Fixes #150

Validation

  • git diff --check
  • git diff --check HEAD~1..HEAD
  • Not run locally beyond static diff checks.

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.

invalid escape sequences are deprecated

1 participant