2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Actually have the vformat override return

Performing the super() is hardly helpful if it
doesn't actually copy the return behavior.
This commit is contained in:
Jarrod Johnson 2024-03-21 16:28:49 -04:00
parent 5a7d98c6b8
commit 6ad0e773de

View File

@ -1091,8 +1091,8 @@ class _ExpressionFormat(string.Formatter):
def _vformat(self, format_string, args, kwargs, used_args, recursion_depth,
auto_arg_index=False):
super()._vformat(format_string, args, kwargs, used_args,
recursion_depth, auto_arg_index)
return super()._vformat(format_string, args, kwargs, used_args,
recursion_depth, auto_arg_index)
def get_field(self, field_name, args, kwargs):
return field_name, field_name