projects
/
ton
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Consume leading whitespace in lists and dictionaries
[ton]
/
don
/
string.py
diff --git
a/don/string.py
b/don/string.py
index
46f5a83
..
0162d42
100644
(file)
--- a/
don/string.py
+++ b/
don/string.py
@@
-168,6
+168,7
@@
def _make_utf_parser(encoding):
return utf_parser
def _make_consume_constant_parser(constant):
+ @_consume_leading_whitespace
def consume_character_parser(s):
if s.startswith(constant):
return _shared.ParseResult(