summaryrefslogtreecommitdiffstats
path: root/Modules/hashtable.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-22 11:25:04 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-22 11:25:04 (GMT)
commit58100059acb89179530036b4649f91cc679ea12b (patch)
tree9d3c2376d22f601e2aaa312aa4ba1cf37cd11472 /Modules/hashtable.h
parentc9553876ae88b7f1494cff826c8f7a08c2ac5614 (diff)
downloadcpython-58100059acb89179530036b4649f91cc679ea12b.zip
cpython-58100059acb89179530036b4649f91cc679ea12b.tar.gz
cpython-58100059acb89179530036b4649f91cc679ea12b.tar.bz2
Remove _Py_hashtable_delete()
Issue #26588: Remove _Py_hashtable_delete() from hashtable.h since the function is not used. Keep the C code in hashtable.c as commented code if someone needs it later.
Diffstat (limited to 'Modules/hashtable.h')
-rw-r--r--Modules/hashtable.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/hashtable.h b/Modules/hashtable.h
index eede038..41542d2 100644
--- a/Modules/hashtable.h
+++ b/Modules/hashtable.h
@@ -193,13 +193,5 @@ PyAPI_FUNC(int) _Py_hashtable_pop(
_Py_hashtable_pop(TABLE, sizeof(KEY), &(KEY), sizeof(DATA), &(DATA))
-/* Delete an entry.
-
- WARNING: The entry must exist. */
-PyAPI_FUNC(void) _Py_hashtable_delete(
- _Py_hashtable_t *ht,
- size_t key_size,
- const void *pkey);
-
#endif /* Py_LIMITED_API */
#endif