[Python-checkins] Remove a duplicate descriptor in gdbm. (GH-11053)

Serhiy Storchaka webhook-mailer at python.org
Sun Dec 9 15:15:33 EST 2018


https://github.com/python/cpython/commit/e448f9c99e75568dac7c92ea34ee5bef76bc6995
commit: e448f9c99e75568dac7c92ea34ee5bef76bc6995
branch: master
author: Serhiy Storchaka <storchaka at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-12-09T22:15:29+02:00
summary:

Remove a duplicate descriptor in gdbm. (GH-11053)

files:
M Modules/_gdbmmodule.c

diff --git a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
index ceb744b99ba8..46bb59ac9521 100644
--- a/Modules/_gdbmmodule.c
+++ b/Modules/_gdbmmodule.c
@@ -485,7 +485,6 @@ static PyMethodDef dbm_methods[] = {
     _GDBM_GDBM_REORGANIZE_METHODDEF
     _GDBM_GDBM_SYNC_METHODDEF
     _GDBM_GDBM_GET_METHODDEF
-    _GDBM_GDBM_GET_METHODDEF
     _GDBM_GDBM_SETDEFAULT_METHODDEF
     {"__enter__", dbm__enter__, METH_NOARGS, NULL},
     {"__exit__",  dbm__exit__, METH_VARARGS, NULL},



More information about the Python-checkins mailing list