]> granicus.if.org Git - python/commitdiff
BSequence_set_range(): Rev 46688 ("Fix a bunch of
authorTim Peters <tim.peters@gmail.com>
Tue, 6 Jun 2006 15:50:17 +0000 (15:50 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 6 Jun 2006 15:50:17 +0000 (15:50 +0000)
parameter strings") changed this function's signature
seemingly by mistake, which is causing buildbots to fail
test_bsddb3.  Restored the pre-46688 signature.

Modules/_bsddb.c

index 0822aa9886c730410475a47067d170a07d96f174..04e5af6493437fb6df3ab88133d12f9070c3675c 100644 (file)
@@ -5012,7 +5012,7 @@ DBSequence_set_range(DBSequenceObject* self, PyObject* args)
 {
     int err;
     db_seq_t min, max;
-    if (!PyArg_ParseTuple(args,"LL:set_range", &min, &max))
+    if (!PyArg_ParseTuple(args,"(LL):set_range", &min, &max))
         return NULL;
     CHECK_SEQUENCE_NOT_CLOSED(self)