summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormessi Liao <bh_binghu@163.com>2017-06-13 14:30:43 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-06-13 14:30:43 (GMT)
commit0d322181d9018b25a5c28e62a0c193b4309aaa95 (patch)
treee5326277cbe18c250b62c9d2184a7218e4ea2a38
parent4563099d28e832aed22b85ce7e2a92236df03847 (diff)
downloadcpython-0d322181d9018b25a5c28e62a0c193b4309aaa95.zip
cpython-0d322181d9018b25a5c28e62a0c193b4309aaa95.tar.gz
cpython-0d322181d9018b25a5c28e62a0c193b4309aaa95.tar.bz2
bpo-30650: Fixed a syntax error: missed right parentheses (#2154)
-rw-r--r--Modules/posixmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index f4a2167..6b1e435 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -12935,7 +12935,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;