mirror of https://github.com/python/cpython
fix bug in close()
This commit is contained in:
parent
66017aa1b8
commit
e03f277a22
|
@ -171,7 +171,6 @@ dbm__close(dp, args)
|
|||
if ( dp->di_dbm )
|
||||
dbm_close(dp->di_dbm);
|
||||
dp->di_dbm = NULL;
|
||||
DEL(dp);
|
||||
INCREF(None);
|
||||
return None;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue