Skip to content

Commit

Permalink
Fix .. code-block :: directives in decimal.rst (GH-22571)
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile authored Oct 11, 2020
1 parent 10c98db commit d5752aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Doc/c-api/decimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit d5752aa

Please sign in to comment.