summaryrefslogtreecommitdiff
path: root/Modules/_multiprocessing
diff options
context:
space:
mode:
authorJesse Noller <jnoller@gmail.com>2009-03-31 03:25:07 +0000
committerJesse Noller <jnoller@gmail.com>2009-03-31 03:25:07 +0000
commitf8d00855109d98d364882d46b2060a46af6456c3 (patch)
tree36a357b94a9067c5821bfa193f7f6b895723824c /Modules/_multiprocessing
parent6d4a9cf85f819188ed929302f0034974ebd051ed (diff)
downloadcpython-git-f8d00855109d98d364882d46b2060a46af6456c3.tar.gz
merge 70783 to py3k
Diffstat (limited to 'Modules/_multiprocessing')
-rw-r--r--Modules/_multiprocessing/semaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_multiprocessing/semaphore.c b/Modules/_multiprocessing/semaphore.c
index 9c8c445eb6..40bd7c3c88 100644
--- a/Modules/_multiprocessing/semaphore.c
+++ b/Modules/_multiprocessing/semaphore.c
@@ -546,7 +546,7 @@ static PyMethodDef semlock_methods[] = {
"acquire the semaphore/lock"},
{"release", (PyCFunction)semlock_release, METH_NOARGS,
"release the semaphore/lock"},
- {"__enter__", (PyCFunction)semlock_acquire, METH_VARARGS,
+ {"__enter__", (PyCFunction)semlock_acquire, METH_VARARGS | METH_KEYWORDS,
"enter the semaphore/lock"},
{"__exit__", (PyCFunction)semlock_release, METH_VARARGS,
"exit the semaphore/lock"},