Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2024-06-20 13:38:14 +0200
committerChristian Tismer <tismer@stackless.com>2024-06-20 13:57:34 +0200
commit50061290756323ff339bd0473e67117c8191d130 (patch)
treefb8caaaddcafc0abe0958d24f9e79ca9a480c057 /examples/quick/window/main.py
parent2b77370de90e9a342b3d00f6bb5c44e70579b458 (diff)
Python-3.10: Allow the new syntax for Python 3.9
Add a future statement to all Python source files. Task-number: PYSIDE-2786 Change-Id: Icd6688c7795a9e16fdcaa829686d57792df27690 Reviewed-by: Adrian Herrmann <adrian.herrmann@qt.io>
Diffstat (limited to 'examples/quick/window/main.py')
-rw-r--r--examples/quick/window/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quick/window/main.py b/examples/quick/window/main.py
index 62ba6a5e9..f12fa88d2 100644
--- a/examples/quick/window/main.py
+++ b/examples/quick/window/main.py
@@ -1,5 +1,6 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+from __future__ import annotations
import os
from pathlib import Path