aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/doc
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-03 10:27:06 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-03-03 11:13:23 +0100
commitfcbbab0a6b5949b5c3726214ed87898b5fbcebcc (patch)
treefa32abe22f62adb4397aa439c99f735a82dadf9e /sources/shiboken2/doc
parent50f382579d1323817165d85bf88a394328a4e9a0 (diff)
shiboken: Add XML attribute to turn off method caching
Task-number: PYSIDE-803 Change-Id: I0ba80cea5804e1b83cc55ee32163ca9d021ccd26 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/doc')
-rw-r--r--sources/shiboken2/doc/typesystem_specifying_types.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/doc/typesystem_specifying_types.rst b/sources/shiboken2/doc/typesystem_specifying_types.rst
index bca1e0774..3ab6adbd6 100644
--- a/sources/shiboken2/doc/typesystem_specifying_types.rst
+++ b/sources/shiboken2/doc/typesystem_specifying_types.rst
@@ -300,6 +300,7 @@ object-type
allow-thread="..."
exception-handling="..."
hash-function="..."
+ no-override-caching="yes | no"
stream="yes | no"
revision="..." />
</typesystem>
@@ -323,6 +324,10 @@ object-type
specify the default handling for the corresponding function modification
(see :ref:`modify-function`).
+ The *optional* attribute **no-override-caching** can be used to turn off the
+ caching of methods overridden in Python, which can trigger obscure bugs when
+ setting attributes in Python 2.
+
interface-type
^^^^^^^^^^^^^^