From 3bc0ecbcd974716920b860904a47ee7f69afb717 Mon Sep 17 00:00:00 2001 From: Howard Lovatt Date: Fri, 9 Oct 2020 20:40:17 +1100 Subject: [PATCH] docs/library/btree.rst: Correct method typo: __detitem__ to __delitem__. --- docs/library/btree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/library/btree.rst b/docs/library/btree.rst index de52ef7e7e..ba91085210 100644 --- a/docs/library/btree.rst +++ b/docs/library/btree.rst @@ -118,7 +118,7 @@ Methods .. method:: btree.__getitem__(key) btree.get(key, default=None, /) btree.__setitem__(key, val) - btree.__detitem__(key) + btree.__delitem__(key) btree.__contains__(key) Standard dictionary methods.