Skip to content

Commit

Permalink
Fix expression error string
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ committed Nov 29, 2024
1 parent d68414c commit 026ba89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pyqgis_developer_cookbook/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ The following example shows how to check if a given expression can be parsed cor
exp = QgsExpression('1 + 1 = ')
assert(exp.hasParserError())

assert(exp.parserErrorString() == '\nsyntax error, unexpected end of file')
assert(exp.parserErrorString() == '\nIncomplete expression. You might not have finished the full expression.')

.. index:: Expressions; Evaluating

Expand Down

0 comments on commit 026ba89

Please sign in to comment.