diff options
author | Anthony Sottile <asottile@umich.edu> | 2020-10-11 11:26:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-11 19:26:50 +0100 |
commit | d5752aa5c91c56910efe226d0a000bb4481e4f87 (patch) | |
tree | 49f02bd3a5c4353e13fd6ea99bdfa4807440cce2 | |
parent | 10c98db7f5ccf0af9d8803a132ca8641193ebda1 (diff) | |
download | cpython-git-d5752aa5c91c56910efe226d0a000bb4481e4f87.tar.gz |
Fix .. code-block :: directives in decimal.rst (GH-22571)
-rw-r--r-- | Doc/c-api/decimal.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/decimal.rst b/Doc/c-api/decimal.rst index f530571eba..94cc4a7b84 100644 --- a/Doc/c-api/decimal.rst +++ b/Doc/c-api/decimal.rst @@ -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) { |