mirror of https://github.com/python/cpython
The & character is also escaped using \.
This commit is contained in:
parent
1ff6db484f
commit
1cb330c383
|
@ -44,7 +44,7 @@ def encode(s):
|
|||
return string.join(map(_charmap.get, s), '')
|
||||
|
||||
|
||||
ESCAPED_CHARS = "$%#^ {}"
|
||||
ESCAPED_CHARS = "$%#^ {}&"
|
||||
|
||||
|
||||
def subconvert(line, ofp, table, discards, autoclosing, knownempty,
|
||||
|
|
Loading…
Reference in New Issue