Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative')
-rw-r--r--examples/declarative/extending/chapter1-basics/basics.py2
-rw-r--r--examples/declarative/extending/chapter2-methods/methods.py2
-rw-r--r--examples/declarative/extending/chapter3-bindings/bindings.py2
-rw-r--r--examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py2
-rw-r--r--examples/declarative/extending/chapter5-listproperties/listproperties.py2
-rw-r--r--examples/declarative/scrolling.py2
-rw-r--r--examples/declarative/signals/pytoqml1/main.py2
-rw-r--r--examples/declarative/signals/qmltopy1/main.py2
-rw-r--r--examples/declarative/signals/qmltopy2/main.py2
-rw-r--r--examples/declarative/signals/qmltopy3/main.py2
-rw-r--r--examples/declarative/signals/qmltopy4/main.py2
-rw-r--r--examples/declarative/usingmodel.py2
12 files changed, 0 insertions, 24 deletions
diff --git a/examples/declarative/extending/chapter1-basics/basics.py b/examples/declarative/extending/chapter1-basics/basics.py
index 95ee36362..e75e1b330 100644
--- a/examples/declarative/extending/chapter1-basics/basics.py
+++ b/examples/declarative/extending/chapter1-basics/basics.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
"""PySide2 port of the qml/tutorials/extending-qml/chapter1-basics example from Qt v5.x"""
import sys, os
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
diff --git a/examples/declarative/extending/chapter3-bindings/bindings.py b/examples/declarative/extending/chapter3-bindings/bindings.py
index f20fc0bcc..b603cb65e 100644
--- a/examples/declarative/extending/chapter3-bindings/bindings.py
+++ b/examples/declarative/extending/chapter3-bindings/bindings.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
"""PySide2 port of the qml/tutorials/extending-qml/chapter3-bindings example from Qt v5.x"""
import sys, os
diff --git a/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py b/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py
index 66e4dea7c..888cb4861 100644
--- a/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py
+++ b/examples/declarative/extending/chapter4-customPropertyTypes/customPropertyTypes.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
"""PySide2 port of the qml/tutorials/extending-qml/chapter4-customPropertyTypes example from Qt v5.x"""
import sys, os
diff --git a/examples/declarative/extending/chapter5-listproperties/listproperties.py b/examples/declarative/extending/chapter5-listproperties/listproperties.py
index 659f8d5c5..5c3c428c2 100644
--- a/examples/declarative/extending/chapter5-listproperties/listproperties.py
+++ b/examples/declarative/extending/chapter5-listproperties/listproperties.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
"""PySide2 port of the qml/tutorials/extending-qml/chapter5-listproperties example from Qt v5.x"""
import sys, os
diff --git a/examples/declarative/scrolling.py b/examples/declarative/scrolling.py
index b4a0ee270..f4b740e02 100644
--- a/examples/declarative/scrolling.py
+++ b/examples/declarative/scrolling.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QUrl
diff --git a/examples/declarative/signals/pytoqml1/main.py b/examples/declarative/signals/pytoqml1/main.py
index 218d885a0..b57809392 100644
--- a/examples/declarative/signals/pytoqml1/main.py
+++ b/examples/declarative/signals/pytoqml1/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QTimer, QUrl
diff --git a/examples/declarative/signals/qmltopy1/main.py b/examples/declarative/signals/qmltopy1/main.py
index 1342dbadb..a2adfef29 100644
--- a/examples/declarative/signals/qmltopy1/main.py
+++ b/examples/declarative/signals/qmltopy1/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QObject, QUrl, Slot
diff --git a/examples/declarative/signals/qmltopy2/main.py b/examples/declarative/signals/qmltopy2/main.py
index 9b0aca815..0fc6a2225 100644
--- a/examples/declarative/signals/qmltopy2/main.py
+++ b/examples/declarative/signals/qmltopy2/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QObject, QUrl, Slot
diff --git a/examples/declarative/signals/qmltopy3/main.py b/examples/declarative/signals/qmltopy3/main.py
index 485dd62f5..0ba50fae8 100644
--- a/examples/declarative/signals/qmltopy3/main.py
+++ b/examples/declarative/signals/qmltopy3/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QUrl
diff --git a/examples/declarative/signals/qmltopy4/main.py b/examples/declarative/signals/qmltopy4/main.py
index d165e61f3..278f3526f 100644
--- a/examples/declarative/signals/qmltopy4/main.py
+++ b/examples/declarative/signals/qmltopy4/main.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QObject, QUrl
diff --git a/examples/declarative/usingmodel.py b/examples/declarative/usingmodel.py
index 9b67bd0d4..3d5e8be32 100644
--- a/examples/declarative/usingmodel.py
+++ b/examples/declarative/usingmodel.py
@@ -39,8 +39,6 @@
##
#############################################################################
-from __future__ import print_function
-
import os
import sys
from PySide2.QtCore import QAbstractListModel, Qt, QUrl, QByteArray