Skip to content

Commit df9d9e4

Browse files
committed
Legacy literals are now deprecated
1 parent e4941fc commit df9d9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jmespath/lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def _consume_literal(self):
212212
# JSON strings during the JEP-12 deprecation period.
213213
parsed_json = loads('"%s"' % lexeme.lstrip())
214214
warnings.warn("deprecated string literal syntax",
215-
PendingDeprecationWarning)
215+
DeprecationWarning)
216216
except ValueError:
217217
raise error
218218

0 commit comments

Comments
 (0)