Skip to content

Commit b5db7bb

Browse files
authored
[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 d9a2b99)
1 parent 095a421 commit b5db7bb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/extending/extending.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -333,12 +333,12 @@ function.
333333
The method table must be referenced in the module definition structure::
334334

335335
static struct PyModuleDef spammodule = {
336-
PyModuleDef_HEAD_INIT,
337-
"spam", /* name of module */
338-
spam_doc, /* module documentation, may be NULL */
339-
-1, /* size of per-interpreter state of the module,
340-
or -1 if the module keeps state in global variables. */
341-
SpamMethods
336+
PyModuleDef_HEAD_INIT,
337+
"spam", /* name of module */
338+
spam_doc, /* module documentation, may be NULL */
339+
-1, /* size of per-interpreter state of the module,
340+
or -1 if the module keeps state in global variables. */
341+
SpamMethods
342342
};
343343

344344
This structure, in turn, must be passed to the interpreter in the module's

0 commit comments

Comments
 (0)