Skip to content

Fix invalid escape sequence warnings

Jason A. Yundt requested to merge (removed):fix-40 into master

Backslashes only allowed in string literals if they're part of an escape sequence (raw strings are an exception to this rule).[1] This change fixes some string literals that broke this rule.

Fixes #40 (closed).

  1. https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals

Signed-off-by: Jason Yundt swagfortress@gmail.com

Merge request reports

Loading