Skip to content

Commit 88f7f9a

Browse files
committed
bench: fix bas isinstance sequence in one test
Signed-off-by: Mats Wichmann <mats@linux.com>
1 parent 50b478f commit 88f7f9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bench/is_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def cache_type_e_is_Dict(e):
5353

5454
def cache_type_e_is_List(e):
5555
t = type(e)
56-
return t is list or isinstance(e, UserList or isinstance(e, deque))
56+
return t is list or isinstance(e, (UserList, deque))
5757

5858
def cache_type_e_is_String(e):
5959
t = type(e)

0 commit comments

Comments
 (0)