]> granicus.if.org Git - python/commitdiff
[3.6] bpo-30650: Fixed a syntax error: missed right parentheses (GH-2154) (#2215)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 15 Jun 2017 13:57:53 +0000 (16:57 +0300)
committerGitHub <noreply@github.com>
Thu, 15 Jun 2017 13:57:53 +0000 (16:57 +0300)
(cherry picked from commit 0d32218)

Modules/posixmodule.c

index f4bbc8931b39fa4cd6068e8e34d6c83c0fd1257f..0a9123b61bdc06a531e1b13024c70da27680069a 100644 (file)
@@ -12756,7 +12756,7 @@ all_ins(PyObject *m)
     if (PyModule_AddIntMacro(m, SCHED_RR)) return -1;
 #endif
 #ifdef SCHED_SPORADIC
-    if (PyModule_AddIntMacro(m, SCHED_SPORADIC) return -1;
+    if (PyModule_AddIntMacro(m, SCHED_SPORADIC)) return -1;
 #endif
 #ifdef SCHED_BATCH
     if (PyModule_AddIntMacro(m, SCHED_BATCH)) return -1;