Skip to content

Commit ade8003

Browse files
Typos
Co-authored-by: Sadie L. Bartholomew <[email protected]>
1 parent ca7f5a1 commit ade8003

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cf/field.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,12 +444,12 @@ def __getitem__(self, indices):
444444
# Record which axes were cyclic before the subspace
445445
org_cyclic = [data_axes.index(axis) for axis in new.cyclic()]
446446

447-
# Se the subspaced data
447+
# Set the subspaced data
448448
new.set_data(new_data, axes=data_axes, copy=False)
449449

450450
# Update axis cylcicity. Note that this can only entail
451451
# setting an originally cyclic axis to be non-cyclic. Doing
452-
# this now it enables us to disable the (possibly very slow)
452+
# this now enables us to disable the (possibly very slow)
453453
# automatic check for cyclicity on the 'set_construct' calls
454454
# below.
455455
if org_cyclic:

cf/mixin/fielddomain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,8 +1110,8 @@ def autocyclic(self, key=None, coord=None, verbose=None, config={}):
11101110
:Returns:
11111111
11121112
`bool` or `None`
1113-
`True` if the dimension is cycle, `False` if it isn't,
1114-
or `None` no checks were done.
1113+
`True` if the dimension is cyclic, `False` if it isn't,
1114+
or `None` if no checks were done.
11151115
11161116
"""
11171117
noop = config.get("no-op")

0 commit comments

Comments
 (0)