diff options
author | da-woods <dw-git@d-woods.co.uk> | 2021-06-18 21:16:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 22:16:01 +0200 |
commit | c76e0c1e42015f52438230f9ee6f1b6d5018cb61 (patch) | |
tree | 92421b7a045070be24af7d09017c7ce8666124e6 | |
parent | bba69054b4aff2c0a63a8be9d6ce5c9fdd079a52 (diff) | |
download | cython-c76e0c1e42015f52438230f9ee6f1b6d5018cb61.tar.gz |
docs: repair glossary (GH-4238)
It looks like putting the title between `.. glossary::` and the entries messed it up.
-rw-r--r-- | docs/src/userguide/glossary.rst | 4 | ||||
-rw-r--r-- | docs/src/userguide/wrapping_CPlusPlus.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/userguide/glossary.rst b/docs/src/userguide/glossary.rst index 1ccbb4408..514139633 100644 --- a/docs/src/userguide/glossary.rst +++ b/docs/src/userguide/glossary.rst @@ -1,8 +1,8 @@ -.. glossary:: - Glossary ======== +.. glossary:: + Extension type "Extension type" can refer to either a Cython class defined with ``cdef class`` or more generally to any Python type that is ultimately implemented as a native C struct (including the built-in types like `int` or `dict`). diff --git a/docs/src/userguide/wrapping_CPlusPlus.rst b/docs/src/userguide/wrapping_CPlusPlus.rst index cdcb2215b..35c1fda32 100644 --- a/docs/src/userguide/wrapping_CPlusPlus.rst +++ b/docs/src/userguide/wrapping_CPlusPlus.rst @@ -11,7 +11,7 @@ Overview Cython has native support for most of the C++ language. Specifically: -* C++ objects can be :term:`dynamically allocated<Dynamic allocation>` with ``new`` and ``del`` keywords. +* C++ objects can be :term:`dynamically allocated<Dynamic allocation or Heap allocation>` with ``new`` and ``del`` keywords. * C++ objects can be :term:`stack-allocated<Stack allocation>`. * C++ classes can be declared with the new keyword ``cppclass``. * Templated classes and functions are supported. |