diff options
author | Christian Tismer <tismer@stackless.com> | 2020-11-02 12:50:00 +0100 |
---|---|---|
committer | Christian Tismer <tismer@stackless.com> | 2020-11-02 13:26:38 +0000 |
commit | 6e3e7b9ca0548430aaa5e2555d6e02c64625fa3f (patch) | |
tree | a821c90747c2376d1396a4bf58330f8b41ccbaad /sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py | |
parent | 4544a943ca2df4e6f0ac24914f0c0f844dc6f748 (diff) |
replace **locals by f-strings where possible
This change affects mostly only my own sources which were
prepared for the migration to Python 3.6 .
Task-number: PYSIDE-904
Change-Id: I0c2cd59f6f625f51f876099c33005ac70ca39db9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py')
-rw-r--r-- | sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py index 7af43bea0..3dbc2e011 100644 --- a/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py +++ b/sources/shiboken6/shibokenmodule/files.dir/shibokensupport/signature/importhandler.py @@ -72,8 +72,8 @@ def finish_import(module): except Exception as e: name = e.__class__.__qualname__ print(72 * "*") - print("Error in deprecated.py, ignored:") - print(" {name}: {e}".format(**locals())) + print(f"Error in deprecated.py, ignored:") + print(f" {name}: {e}") """ A note for people who might think this could be written in pure Python: |