Skip to content

Commit 02ff0a9

Browse files
committed
Some cleanup
1 parent 128216c commit 02ff0a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/blosc2/lazyexpr.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def validate_inputs(inputs: dict, out=None) -> tuple: # noqa: C901
643643
def is_full_slice(item):
644644
"""Check whether the slice represented by item is a full slice."""
645645
if item is None:
646-
# This is the case when the user does not pass any slice in eval() method
646+
# This is the case when the user does not pass any slice in compute() method
647647
return True
648648
if isinstance(item, tuple):
649649
return all((isinstance(i, slice) and i == slice(None, None, None)) or i == Ellipsis for i in item)
@@ -879,7 +879,7 @@ def fast_eval( # noqa: C901
879879
operands: dict
880880
A dictionary containing the operands for the expression.
881881
getitem: bool, optional
882-
Indicates whether the expression is being evaluated for a getitem operation or eval().
882+
Indicates whether the expression is being evaluated for a getitem operation or compute().
883883
Default is False.
884884
kwargs: Any, optional
885885
Additional keyword arguments supported by the :func:`empty` constructor.
@@ -964,7 +964,7 @@ def fast_eval( # noqa: C901
964964
raise ValueError("Fast path: the where condition must be a tuple with two elements")
965965

966966
if out is None:
967-
# We can enter here when using any of the eval() or __getitem__() methods
967+
# We can enter here when using any of the compute() or __getitem__() methods
968968
if getitem:
969969
out = np.empty(shape, dtype=dtype)
970970
else:

0 commit comments

Comments
 (0)