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

Modules/posixmodule.c

index 00da3c086521a4090e8f889441becfe7f87bc522..9dd26f51ed33deb98b7aab9e8a0305cbe7967f33 100644 (file)
@@ -12812,7 +12812,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;