mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-15 22:52:04 +08:00
English.
This commit is contained in:
@@ -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