diff options
| author | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-05-12 14:27:15 +0200 |
|---|---|---|
| committer | Cristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io> | 2021-05-12 20:33:36 +0200 |
| commit | c5db9d63277201ee58829f7eb0656c534d04c249 (patch) | |
| tree | ef67e9547943c49497bffc52d041bb2aa93243a7 /examples/webchannel/standalone/dialog.py | |
| parent | 7118ab7a34b1c3c6a9b0b1d29e0a9d2011a2d887 (diff) | |
examples: use f-strings
Change-Id: I0360f1476af666494c730e4f3c8f4f3c562abc09
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/webchannel/standalone/dialog.py')
| -rw-r--r-- | examples/webchannel/standalone/dialog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/webchannel/standalone/dialog.py b/examples/webchannel/standalone/dialog.py index 2db033fcd..886a323f8 100644 --- a/examples/webchannel/standalone/dialog.py +++ b/examples/webchannel/standalone/dialog.py @@ -64,5 +64,5 @@ class Dialog(QDialog): if not text: return self.sendText.emit(text) - self.displayMessage("Sent message: {}".format(text)) + self.displayMessage(f"Sent message: {text}") self._ui.input.clear() |
