From 3b557bcc2216bcc7ef239a2706832fc8ebf0065e Mon Sep 17 00:00:00 2001 From: Eric Wieser Date: Sun, 25 Oct 2020 11:46:49 +0000 Subject: DOC: Don't use Python highlighting for non-python code --- doc/source/reference/c-api/array.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/source/reference/c-api/array.rst') diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst index b22e20818..e9717d59a 100644 --- a/doc/source/reference/c-api/array.rst +++ b/doc/source/reference/c-api/array.rst @@ -2353,7 +2353,9 @@ it is possible to do this. Defining an :c:type:`NpyAuxData` is similar to defining a class in C++, but the object semantics have to be tracked manually since the API is in C. Here's an example for a function which doubles up an element using -an element copier function as a primitive.:: +an element copier function as a primitive. + +.. code-block:: c typedef struct { NpyAuxData base; -- cgit v1.2.1