Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5752aa

Browse files
authored
Fix .. code-block :: directives in decimal.rst (GH-22571)
1 parent 10c98db commit d5752aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/c-api/decimal.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Initialize
1616
Typically, a C extension module that uses the decimal API will do these
1717
steps in its init function:
1818

19-
.. code-block::
19+
.. code-block:: c
2020
2121
#include "pydecimal.h"
2222
@@ -88,7 +88,7 @@ Data structures
8888
8989
The conversion functions use the following status codes and data structures:
9090
91-
.. code-block::
91+
.. code-block:: c
9292
9393
/* status cases for getting a triple */
9494
enum mpd_triple_class {
@@ -126,7 +126,7 @@ Functions
126126
For simplicity, the usage of the function and all special cases are
127127
explained in code form and comments:
128128
129-
.. code-block::
129+
.. code-block:: c
130130
131131
triple = PyDec_AsUint128Triple(dec);
132132
switch (triple.tag) {

0 commit comments

Comments
 (0)