Skip to content

Commit 1cac8d4

Browse files
author
Luke Shaw
committed
Update comments again
1 parent 7d82b0b commit 1cac8d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/blosc2/lazyexpr.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2789,9 +2789,9 @@ def _new_expr(cls, expression, operands, guess, out=None, where=None, ne_args=No
27892789
# if new_expr has where_args, must have come from where(...) - or possibly where(where(..
27902790
# since 5*where, where + ... are evaluated eagerly
27912791
if hasattr(new_expr, "_where_args"):
2792-
st = (
2793-
expression_.find("where(") + 6
2794-
) # expr always begins where( - could just set = 6 probably
2792+
st = expression_.find("where(") + len(
2793+
"where("
2794+
) # expr always begins where( - should have st = 6 always
27952795
finalexpr = ""
27962796
counter = 0
27972797
for char in expression_[st:]: # get rid of external where(...)

0 commit comments

Comments
 (0)