[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 d9a2b99ac4)
This commit is contained in:
Mariatta 2017-08-30 23:11:02 -07:00 committed by GitHub
parent 095a421b16
commit b5db7bb9da

View file

@ -333,12 +333,12 @@ function.
The method table must be referenced in the module definition structure:: The method table must be referenced in the module definition structure::
static struct PyModuleDef spammodule = { static struct PyModuleDef spammodule = {
PyModuleDef_HEAD_INIT, PyModuleDef_HEAD_INIT,
"spam", /* name of module */ "spam", /* name of module */
spam_doc, /* module documentation, may be NULL */ spam_doc, /* module documentation, may be NULL */
-1, /* size of per-interpreter state of the module, -1, /* size of per-interpreter state of the module,
or -1 if the module keeps state in global variables. */ or -1 if the module keeps state in global variables. */
SpamMethods SpamMethods
}; };
This structure, in turn, must be passed to the interpreter in the module's This structure, in turn, must be passed to the interpreter in the module's