diff options
Diffstat (limited to 'babel/messages/jslexer.py')
-rw-r--r-- | babel/messages/jslexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/babel/messages/jslexer.py b/babel/messages/jslexer.py index d3389d0..cf287e4 100644 --- a/babel/messages/jslexer.py +++ b/babel/messages/jslexer.py @@ -98,7 +98,7 @@ def unquote_string(string: str) -> str: assert string and string[0] == string[-1] and string[0] in '"\'`', \ 'string provided is not properly delimited' string = line_join_re.sub('\\1', string[1:-1]) - result = [] + result: list[str] = [] add = result.append pos = 0 |