Commit 1a2793a0 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer

Removing TODO comment for None keys, as suggested by Neal Norwitz.

parent 55d96e1c
...@@ -348,7 +348,7 @@ make_key_dbt(DBObject* self, PyObject* keyobj, DBT* key, int* pflags) ...@@ -348,7 +348,7 @@ make_key_dbt(DBObject* self, PyObject* keyobj, DBT* key, int* pflags)
int type; int type;
CLEAR_DBT(*key); CLEAR_DBT(*key);
if (keyobj == Py_None) { /* TODO: is None really okay for keys? */ if (keyobj == Py_None) {
type = _DB_get_type(self); type = _DB_get_type(self);
if (type == -1) if (type == -1)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment