aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/chapter2-methods
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <[email protected]>2020-10-27 20:12:12 +0100
committerCristian Maureira-Fredes <[email protected]>2020-10-28 13:56:40 +0000
commit1fceed1fc3565080eef556c9b71498780aa94bf2 (patch)
tree848628ec5561e8c90d19cf3996f1047d39ab7928 /examples/declarative/extending/chapter2-methods
parent1bc8c8ce262d80bbea0141f48055342adca9e3f9 (diff)
examples: Remove Python 2.7 and <3.6 related code
* removing from __future__ import ... * updating CMakeLists.txt files * removing special if-else for Python 2 and 3 Change-Id: I8a34b06b6b384ebc5323f20f7c15c357a5be6d62 Reviewed-by: Christian Tismer <[email protected]> Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'examples/declarative/extending/chapter2-methods')
-rw-r--r--examples/declarative/extending/chapter2-methods/methods.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/declarative/extending/chapter2-methods/methods.py b/examples/declarative/extending/chapter2-methods/methods.py
index 1d02628cd..e2a4eb804 100644
--- a/examples/declarative/extending/chapter2-methods/methods.py
+++ b/examples/declarative/extending/chapter2-methods/methods.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
"""PySide2 port of the qml/tutorials/extending-qml/chapter2-methods example from Qt v5.x"""
import sys, os