From: Sergey Fedoseev Date: Wed, 30 Aug 2017 14:50:40 +0000 (+0500) Subject: Fix the indentation in Extending Python code example (GH-3244) X-Git-Tag: v3.7.0a1~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9a2b99ac45b5529d2a6227b0d529397be831dab;p=python Fix the indentation in Extending Python code example (GH-3244) Code was indented with three spaces. Fixed using four spaces. --- diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index 2dc20fed13..7c273533ab 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