From d71c1694551fb72fec8dd813ea21e7f7180d074a Mon Sep 17 00:00:00 2001 From: fazledyn-or Date: Tue, 22 Aug 2023 17:15:42 +0600 Subject: [PATCH] Fixed improper method call in `datastructures.py` --- web3/datastructures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3/datastructures.py b/web3/datastructures.py index eba2e9ac02..dfae1b7dca 100644 --- a/web3/datastructures.py +++ b/web3/datastructures.py @@ -261,7 +261,7 @@ def __iter__(self) -> Iterator[TKey]: def __add__(self, other: Any) -> "NamedElementOnion[TKey, TValue]": if not isinstance(other, NamedElementOnion): - raise NotImplementedError( + raise NotImplemented( "You can only combine with another NamedElementOnion" ) combined = self._queue.copy()