Show More
@@ -635,7 +635,7 b' def formatspec(expr, *args):' | |||
|
635 | 635 | "root(_list('a\\\\x00b\\\\x00c\\\\x00d'))" |
|
636 | 636 | >>> formatspec(b'sort(%r, %ps)', b':', [b'desc', b'user']) |
|
637 | 637 | "sort((:), 'desc', 'user')" |
|
638 | >>> formatspec('%ls', ['a', "'"]) | |
|
638 | >>> formatspec(b'%ls', [b'a', b"'"]) | |
|
639 | 639 | "_list('a\\\\x00\\\\'')" |
|
640 | 640 | ''' |
|
641 | 641 | expr = pycompat.bytestr(expr) |
General Comments 0
You need to be logged in to leave comments.
Login now