Fix .. code-block :: directives in decimal.rst (GH-22571)

This commit is contained in:
Anthony Sottile 2020-10-11 11:26:50 -07:00 committed by GitHub
parent 10c98db7f5
commit d5752aa5c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Initialize
Typically, a C extension module that uses the decimal API will do these
steps in its init function:
.. code-block::
.. code-block:: c
#include "pydecimal.h"
@ -88,7 +88,7 @@ Data structures
The conversion functions use the following status codes and data structures:
.. code-block::
.. code-block:: c
/* status cases for getting a triple */
enum mpd_triple_class {
@ -126,7 +126,7 @@ Functions
For simplicity, the usage of the function and all special cases are
explained in code form and comments:
.. code-block::
.. code-block:: c
triple = PyDec_AsUint128Triple(dec);
switch (triple.tag) {