Skip to content

Commit 23b5df2

Browse files
committed
builtins are not really necessary here
1 parent dca8d84 commit 23b5df2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/blosc2/lazyexpr.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
import ast
1212
import asyncio
13-
import builtins
1413
import concurrent.futures
1514
import copy
1615
import math
@@ -2824,7 +2823,7 @@ def lazyexpr(
28242823
operands = seek_operands(operand_set, local_dict, global_dict)
28252824
else:
28262825
# No operands found in the expression. Maybe a constructor?
2827-
constructor = builtins.any(constructor in expression for constructor in constructors)
2826+
constructor = any(constructor in expression for constructor in constructors)
28282827
if not constructor:
28292828
raise ValueError("No operands nor constructors found in the expression")
28302829
# _new_expr will take care of the constructor, but needs an empty dict in operands

0 commit comments

Comments
 (0)