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 @@ -167,7 +167,7 @@ def __getitem__(self, key):
167
167
def __setitem__ (self , key , value ):
168
168
if not callable (value ):
169
169
msg = ("Values in a `LazyDict` must be generator functions."
170
- " Those are functions which whenever are called return an"
170
+ " These are functions which, when called, return an"
171
171
" instantiated generator." )
172
172
raise TypeError (msg )
173
173
self .store [key ] = value
@@ -608,8 +608,8 @@ def _apply_affine():
608
608
def _set_streamlines (self , value ):
609
609
if value is not None and not callable (value ):
610
610
msg = ("`streamlines` must be a generator function. That is a"
611
- " function which whenever is called returns an"
612
- " instantiated generator." )
611
+ " function which, when called, returns an instantiated "
612
+ " generator." )
613
613
raise TypeError (msg )
614
614
self ._streamlines = value
615
615
You can’t perform that action at this time.
0 commit comments