aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/doc/typesystem_sequenceprotocol.rst
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/doc/typesystem_sequenceprotocol.rst')
-rw-r--r--sources/shiboken6/doc/typesystem_sequenceprotocol.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/shiboken6/doc/typesystem_sequenceprotocol.rst b/sources/shiboken6/doc/typesystem_sequenceprotocol.rst
index 742be3d70..63cc2c619 100644
--- a/sources/shiboken6/doc/typesystem_sequenceprotocol.rst
+++ b/sources/shiboken6/doc/typesystem_sequenceprotocol.rst
@@ -1,8 +1,10 @@
+.. _sequence-protocol:
+
Sequence Protocol
-----------------
Support for the sequence protocol is achieved adding functions with special
-names, this is done using the add-function tag.
+names, this is done using the :ref:`add-function` tag.
The special function names are:
@@ -16,7 +18,7 @@ The special function names are:
__concat__ PyObject* self, PyObject* _other PyObject* PySequence_Concat
============= =============================================== ==================== ===================
-You just need to inform the function name to the add-function tag, without any
+You just need to inform the function name to the :ref:`add-function` tag, without any
parameter or return type information, when you do it, |project| will create a C
function with parameters and return type defined by the table above.