summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2011-09-15 20:56:00 (GMT)
committerStefan Krah <skrah@bytereef.org>2011-09-15 20:56:00 (GMT)
commit7711273ce8a39a5e1d93e95b8a250bcafcba50d3 (patch)
tree2da346c524e41e94fa36d3aef345130a5020ac1c
parented36c06f1dbc8888d94491d3c2e83aa296e9b33a (diff)
downloadcpython-7711273ce8a39a5e1d93e95b8a250bcafcba50d3.zip
cpython-7711273ce8a39a5e1d93e95b8a250bcafcba50d3.tar.gz
cpython-7711273ce8a39a5e1d93e95b8a250bcafcba50d3.tar.bz2
Use bitwise instead of logical or for flags.
-rw-r--r--Modules/_bsddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index d2d12ff..d99df4b 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},