File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -643,7 +643,7 @@ def validate_inputs(inputs: dict, out=None) -> tuple: # noqa: C901
643
643
def is_full_slice (item ):
644
644
"""Check whether the slice represented by item is a full slice."""
645
645
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
647
647
return True
648
648
if isinstance (item , tuple ):
649
649
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
879
879
operands: dict
880
880
A dictionary containing the operands for the expression.
881
881
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 ().
883
883
Default is False.
884
884
kwargs: Any, optional
885
885
Additional keyword arguments supported by the :func:`empty` constructor.
@@ -964,7 +964,7 @@ def fast_eval( # noqa: C901
964
964
raise ValueError ("Fast path: the where condition must be a tuple with two elements" )
965
965
966
966
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
968
968
if getitem :
969
969
out = np .empty (shape , dtype = dtype )
970
970
else :
You can’t perform that action at this time.
0 commit comments