aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/support/generate_pyi.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-26 22:01:42 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-26 22:01:42 +0200
commit42a784c53ead093c77f8562c0f4fd66810dc7017 (patch)
treec89833f5e38c7903499f304502c07d0cfb987cf6 /sources/pyside2/PySide2/support/generate_pyi.py
parenta6c3806c49db404d27d953a66d923eddedc51839 (diff)
parent7406fc4b6967cb32175752a2ae7934bd8b1f8200 (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Diffstat (limited to 'sources/pyside2/PySide2/support/generate_pyi.py')
-rw-r--r--sources/pyside2/PySide2/support/generate_pyi.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/sources/pyside2/PySide2/support/generate_pyi.py b/sources/pyside2/PySide2/support/generate_pyi.py
index f92367c82..af9f4d4f5 100644
--- a/sources/pyside2/PySide2/support/generate_pyi.py
+++ b/sources/pyside2/PySide2/support/generate_pyi.py
@@ -1,7 +1,7 @@
# This Python file uses the following encoding: utf-8
#############################################################################
##
-## Copyright (C) 2019 The Qt Company Ltd.
+## Copyright (C) 2020 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of Qt for Python.
@@ -169,12 +169,6 @@ class Formatter(Writer):
else:
self.print("{spaces}class {class_str}: ...".format(**locals()))
yield
- if "<" in class_name:
- # This is happening in QtQuick for some reason:
- ## class QSharedPointer<QQuickItemGrabResult >:
- # We simply skip over this class.
- self.outfile.seek(here)
- self.outfile.truncate()
@contextmanager
def function(self, func_name, signature, modifier=None):