From 7711273ce8a39a5e1d93e95b8a250bcafcba50d3 Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Thu, 15 Sep 2011 22:56:00 +0200 Subject: [PATCH] Use bitwise instead of logical or for flags. --- Modules/_bsddb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c index d2d12ffb48..d99df4bd2c 100644 --- a/Modules/_bsddb.c +++ b/Modules/_bsddb.c @@ -8795,7 +8795,7 @@ static PyMethodDef DBEnv_methods[] = { {"txn_recover", (PyCFunction)DBEnv_txn_recover, METH_NOARGS}, #if (DBVER < 48) {"set_rpc_server", (PyCFunction)DBEnv_set_rpc_server, - METH_VARARGS||METH_KEYWORDS}, + METH_VARARGS|METH_KEYWORDS}, #endif #if (DBVER >= 43) {"set_mp_max_openfd", (PyCFunction)DBEnv_set_mp_max_openfd, METH_VARARGS}, -- 2.50.1