mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-24 21:47:22 +08:00
English.
This commit is contained in:
1 parent
065081f227
commit
db3c635fcd
1 file changed
+2
-2
@@ -633,8 +633,8 @@ class ErrorFinder(Normalizer):
|
||||
if comp_for is not None and comp_for.type == 'comp_for':
|
||||
# {**{} for a in [1]}
|
||||
message = "dict unpacking cannot be used in dict comprehension"
|
||||
# TODO probably this should get a better end_pos including
|
||||
# the next sibling of leaf.
|
||||
# TODO this should probably get a better end_pos including
|
||||
# the next sibling of leaf.
|
||||
self._add_syntax_error(message, leaf)
|
||||
|
||||
return ''
|
||||
|
||||
Reference in new issue
Block a user