mirror of
https://github.com/python/cpython.git
synced 2024-11-26 03:14:27 +08:00
Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.
This commit is contained in:
parent
f7f1bb7ff5
commit
7e78ade6f9
@ -532,6 +532,7 @@ def list2cmdline(seq):
|
||||
result.extend(bs_buf)
|
||||
|
||||
if needquote:
|
||||
result.extend(bs_buf)
|
||||
result.append('"')
|
||||
|
||||
return ''.join(result)
|
||||
|
Loading…
Reference in New Issue
Block a user