Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c98db commit d5752aaCopy full SHA for d5752aa
1 file changed
Doc/c-api/decimal.rst
@@ -16,7 +16,7 @@ Initialize
16
Typically, a C extension module that uses the decimal API will do these
17
steps in its init function:
18
19
-.. code-block::
+.. code-block:: c
20
21
#include "pydecimal.h"
22
@@ -88,7 +88,7 @@ Data structures
88
89
The conversion functions use the following status codes and data structures:
90
91
92
93
/* status cases for getting a triple */
94
enum mpd_triple_class {
@@ -126,7 +126,7 @@ Functions
126
For simplicity, the usage of the function and all special cases are
127
explained in code form and comments:
128
129
130
131
triple = PyDec_AsUint128Triple(dec);
132
switch (triple.tag) {
0 commit comments