From 50061290756323ff339bd0473e67117c8191d130 Mon Sep 17 00:00:00 2001 From: Christian Tismer Date: Thu, 20 Jun 2024 13:38:14 +0200 Subject: 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 --- examples/qml/tutorials/extending-qml-advanced/methods/main.py | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/qml/tutorials/extending-qml-advanced/methods/main.py') diff --git a/examples/qml/tutorials/extending-qml-advanced/methods/main.py b/examples/qml/tutorials/extending-qml-advanced/methods/main.py index fb656f266..e23476b4d 100644 --- a/examples/qml/tutorials/extending-qml-advanced/methods/main.py +++ b/examples/qml/tutorials/extending-qml-advanced/methods/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 """PySide6 port of the qml/examples/qml/referenceexamples/methods example from Qt v6.x""" -- cgit v1.2.3