From 3c1a6f732a3a2c69e7133d07b89db0bdd788316b Mon Sep 17 00:00:00 2001 From: Cristian Maureira-Fredes Date: Wed, 12 May 2021 17:10:35 +0200 Subject: examples: clean and improve code - removing '\' from long lines, - use f-strings instead of concatenating strings - Use f-strings instead of the old '%' formatting Task-number: PYSIDE-841 Change-Id: I4983c25a6272e10119d5d1a74c180828ca6f64e6 Reviewed-by: Christian Tismer --- examples/corelib/threads/mandelbrot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/corelib') diff --git a/examples/corelib/threads/mandelbrot.py b/examples/corelib/threads/mandelbrot.py index 2e45afadc..c95966119 100644 --- a/examples/corelib/threads/mandelbrot.py +++ b/examples/corelib/threads/mandelbrot.py @@ -67,8 +67,8 @@ NUM_PASSES = 8 INFO_KEY = 'info' -HELP = "Use mouse wheel or the '+' and '-' keys to zoom. Press and " \ - "hold left mouse button to scroll." +HELP = ("Use mouse wheel or the '+' and '-' keys to zoom. Press and " + "hold left mouse button to scroll.") class RenderThread(QThread): -- cgit v1.2.3