summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@jelmer.uk>2019-10-16 21:38:27 +0000
committerJelmer Vernooij <jelmer@jelmer.uk>2019-10-16 21:38:27 +0000
commite07a484377ad044e663884457b0303a8b3d7ac9d (patch)
treee621c0b941a68f7d204b2f37bdd5749d6e716d39
parentc253600dae61d8326ff2d9c37e373c65ef113f05 (diff)
downloadpython-fastimport-git-e07a484377ad044e663884457b0303a8b3d7ac9d.tar.gz
Fix warnings on Python3.8.
-rw-r--r--fastimport/parser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fastimport/parser.py b/fastimport/parser.py
index 7fd0a08..87671ab 100644
--- a/fastimport/parser.py
+++ b/fastimport/parser.py
@@ -99,11 +99,11 @@ The grammar is:
exact_data ::= 'data' sp declen lf
binary_data;
- # note: quoted strings are C-style quoting supporting \c for
- # common escapes of 'c' (e..g \n, \t, \\, \") or \nnn where nnn
+ # note: quoted strings are C-style quoting supporting \\c for
+ # common escapes of 'c' (e..g \\n, \\t, \\\\, \\") or \\nnn where nnn
# is the signed byte value in octal. Note that the only
# characters which must actually be escaped to protect the
- # stream formatting is: \, " and LF. Otherwise these values
+ # stream formatting is: \\, " and LF. Otherwise these values
# are UTF8.
#
ref_str ::= ref;