diff options
author | Mariatta <Mariatta@users.noreply.github.com> | 2017-08-31 06:11:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 06:11:02 (GMT) |
commit | b5db7bb9da1120912a1795fbc6106d0eba5a01c7 (patch) | |
tree | 4c65b17cd727d10c05291e1997ed707eb6711388 /Doc/extending | |
parent | 095a421b1606ee27e00a5d9d253b05a9f0cfadb8 (diff) | |
download | cpython-b5db7bb9da1120912a1795fbc6106d0eba5a01c7.zip cpython-b5db7bb9da1120912a1795fbc6106d0eba5a01c7.tar.gz cpython-b5db7bb9da1120912a1795fbc6106d0eba5a01c7.tar.bz2 |
[3.6] Fix the indentation in Extending Python code example (GH-3244) (GH-3250)
Code was indented with three spaces.
Fixed using four spaces.
(cherry picked from commit d9a2b99ac45b5529d2a6227b0d529397be831dab)
Diffstat (limited to 'Doc/extending')
-rw-r--r-- | Doc/extending/extending.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index 4ac820a..9358462 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -333,12 +333,12 @@ function. The method table must be referenced in the module definition structure:: static struct PyModuleDef spammodule = { - PyModuleDef_HEAD_INIT, - "spam", /* name of module */ - spam_doc, /* module documentation, may be NULL */ - -1, /* size of per-interpreter state of the module, - or -1 if the module keeps state in global variables. */ - SpamMethods + PyModuleDef_HEAD_INIT, + "spam", /* name of module */ + spam_doc, /* module documentation, may be NULL */ + -1, /* size of per-interpreter state of the module, + or -1 if the module keeps state in global variables. */ + SpamMethods }; This structure, in turn, must be passed to the interpreter in the module's |