Skip to content

Commit

Permalink
bench: fix bas isinstance sequence in one test
Browse files Browse the repository at this point in the history
Signed-off-by: Mats Wichmann <[email protected]>
  • Loading branch information
mwichmann committed Jun 28, 2024
1 parent 50b478f commit 88f7f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/is_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def cache_type_e_is_Dict(e):

def cache_type_e_is_List(e):
t = type(e)
return t is list or isinstance(e, UserList or isinstance(e, deque))
return t is list or isinstance(e, (UserList, deque))

def cache_type_e_is_String(e):
t = type(e)
Expand Down

0 comments on commit 88f7f9a

Please sign in to comment.