summaryrefslogtreecommitdiffstats
path: root/Modules/_bsddb.c
diff options
context:
space:
mode:
authorGustavo Niemeyer <gustavo@niemeyer.net>2004-01-20 15:24:29 (GMT)
committerGustavo Niemeyer <gustavo@niemeyer.net>2004-01-20 15:24:29 (GMT)
commitf073b7584f5f1c9a82f80ed55224678fb3262640 (patch)
tree327e4aa79b9e96b45afb31f607b2d5ad9690ad10 /Modules/_bsddb.c
parent8974f72b81229a39f130cb6f1528b5774412f74e (diff)
downloadcpython-f073b7584f5f1c9a82f80ed55224678fb3262640.zip
cpython-f073b7584f5f1c9a82f80ed55224678fb3262640.tar.gz
cpython-f073b7584f5f1c9a82f80ed55224678fb3262640.tar.bz2
Removing TODO comment for None keys, as suggested by Neal Norwitz.
Diffstat (limited to 'Modules/_bsddb.c')
-rw-r--r--Modules/_bsddb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index b9259d6..a503a80 100644
--- a/Modules/_bsddb.c
+++ b/Modules/_bsddb.c
@@ -348,7 +348,7 @@ make_key_dbt(DBObject* self, PyObject* keyobj, DBT* key, int* pflags)
int type;
CLEAR_DBT(*key);
- if (keyobj == Py_None) { /* TODO: is None really okay for keys? */
+ if (keyobj == Py_None) {
type = _DB_get_type(self);
if (type == -1)
return 0;