aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/doc/typesystem_specifying_types.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/doc/typesystem_specifying_types.rst')
-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 5d086f4d3..d296ccc80 100644
--- a/sources/shiboken2/doc/typesystem_specifying_types.rst
+++ b/sources/shiboken2/doc/typesystem_specifying_types.rst
@@ -309,6 +309,7 @@ object-type
allow-thread="..."
exception-handling="..."
hash-function="..."
+ no-override-caching="yes | no"
stream="yes | no"
revision="..." />
</typesystem>
@@ -332,6 +333,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
^^^^^^^^^^^^^^