diff options
author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2017-08-30 14:50:40 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-08-30 14:50:40 (GMT) |
commit | d9a2b99ac45b5529d2a6227b0d529397be831dab (patch) | |
tree | 5273a9c7c850707edddbcc9dedb5b1333d9b153a /Doc | |
parent | cb76029b47f26e969317f21d118392a699d1329e (diff) | |
download | cpython-d9a2b99ac45b5529d2a6227b0d529397be831dab.zip cpython-d9a2b99ac45b5529d2a6227b0d529397be831dab.tar.gz cpython-d9a2b99ac45b5529d2a6227b0d529397be831dab.tar.bz2 |
Fix the indentation in Extending Python code example (GH-3244)
Code was indented with three spaces.
Fixed using four spaces.
Diffstat (limited to 'Doc')
-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 2dc20fe..7c27353 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 |