aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-16 11:02:52 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-16 11:33:21 +0200
commit7844437aefea34920f3a70d840c779377e65612b (patch)
tree4f7573882dafe7e219f70a1bd9c1fb68a77785ef
parentd6ee76c90bbdda6a4ed236953610d6e3ebfe69e0 (diff)
Adapt documentation to the removal of SbkObjectType
Complements a4311711eb89e3f9833a05edf3debdf7563a104f. Task-number: PYSIDE-535 Change-Id: I88f4de71aa22b378ef82e71121bec13814af9cc8 Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r--sources/shiboken6/libshiboken/pep384impl_doc.rst13
1 files changed, 2 insertions, 11 deletions
diff --git a/sources/shiboken6/libshiboken/pep384impl_doc.rst b/sources/shiboken6/libshiboken/pep384impl_doc.rst
index f8e29d321..4e50d68e1 100644
--- a/sources/shiboken6/libshiboken/pep384impl_doc.rst
+++ b/sources/shiboken6/libshiboken/pep384impl_doc.rst
@@ -631,17 +631,8 @@ could remove the following version dependent re-definition of ``PyHeapTypeObject
SbkObjectTypePrivate *sotp;
};
-could be replaced by the simplified::
-
- struct LIBSHIBOKEN_API SbkObjectType
- {
- PyTypeObject type;
- };
-
-which is no longer version-dependent.
-Note that we tried to replace the above struct directly by ``PyTypeObject``,
-but that was too much. The distinction between ``SbkObjectType`` and
-``PyTypeObject`` is still needed.
+could be removed. SbkObjectType remains as a (deprecated)
+type alias to PyTypeObject.
Appendix B: Verification Of PyTypeObject