From a768500ccd472cbb18262bf4de6a7e533e57b4b6 Mon Sep 17 00:00:00 2001 From: morefigs Date: Sat, 13 Apr 2019 16:32:07 +1000 Subject: Replace f-strings with format for backwards compatibility --- examples/system/list_feature_values_and_ranges.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/system') diff --git a/examples/system/list_feature_values_and_ranges.py b/examples/system/list_feature_values_and_ranges.py index ef4da34..91a2a36 100644 --- a/examples/system/list_feature_values_and_ranges.py +++ b/examples/system/list_feature_values_and_ranges.py @@ -25,6 +25,6 @@ if __name__ == '__main__': print('\n\t'.join( str(x) for x in ( feature_name, - f'value: {value}', - f'range: {range_}') + 'value: {}'.format(value), + 'range: {}'.format(range_)) if x is not None)) -- cgit v1.2.3