Commit 87f96651 authored by Stefan Behnel's avatar Stefan Behnel

Make nogil error messages on f-strings more understandable.

parent ff56e6b4
......@@ -3199,6 +3199,7 @@ class JoinedStrNode(ExprNode):
#
type = unicode_type
is_temp = True
gil_message = "String concatenation"
subexprs = ['values']
......@@ -3301,6 +3302,7 @@ class FormattedValueNode(ExprNode):
type = unicode_type
is_temp = True
c_format_spec = None
gil_message = "String formatting"
find_conversion_func = {
's': 'PyObject_Unicode',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment