Skip to content

Commit ac9bc86

Browse files
Remove further duplicate 'the' words in docstrings
1 parent 78d52c4 commit ac9bc86

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

cf/data/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7099,7 +7099,7 @@ def sinh(self, inplace=False):
70997099
71007100
Units are accounted for in the calculation. If the units are not
71017101
equivalent to radians (such as Kelvin) then they are treated as if
7102-
they were radians. For example, the the hyperbolic sine of 90
7102+
they were radians. For example, the hyperbolic sine of 90
71037103
degrees_north is 2.30129890, as is the hyperbolic sine of
71047104
1.57079632 radians.
71057105
@@ -7159,7 +7159,7 @@ def cosh(self, inplace=False):
71597159
71607160
Units are accounted for in the calculation. If the units are not
71617161
equivalent to radians (such as Kelvin) then they are treated as if
7162-
they were radians. For example, the the hyperbolic cosine of 0
7162+
they were radians. For example, the hyperbolic cosine of 0
71637163
degrees_east is 1.0, as is the hyperbolic cosine of 1.57079632 radians.
71647164
71657165
The output units are changed to '1' (nondimensional).
@@ -7219,7 +7219,7 @@ def tanh(self, inplace=False):
72197219
72207220
Units are accounted for in the calculation. If the units are not
72217221
equivalent to radians (such as Kelvin) then they are treated as if
7222-
they were radians. For example, the the hyperbolic tangent of 90
7222+
they were radians. For example, the hyperbolic tangent of 90
72237223
degrees_east is 0.91715234, as is the hyperbolic tangent of
72247224
1.57079632 radians.
72257225

cf/mixin/fielddomain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def _indices(self, config, data_axes, ancillary_mask, kwargs):
247247
tuples of domain axis identifier combinations, each
248248
of which has of a `Data` object containing the
249249
ancillary mask to apply to those domain axes
250-
immediately after the the subspace has been created
250+
immediately after the subspace has been created
251251
by the ``'indices'``. This dictionary will always be
252252
empty if the *ancillary_mask* parameter is False.
253253

cf/mixin/propertiesdata.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,7 +4165,7 @@ def tanh(self, inplace=False):
41654165
41664166
Units are accounted for in the calculation. If the units are
41674167
not equivalent to radians (such as Kelvin) then they are
4168-
treated as if they were radians. For example, the the
4168+
treated as if they were radians. For example, the
41694169
hyperbolic tangent of 90 degrees_east is 0.91715234, as is the
41704170
hyperbolic tangent of 1.57079632 radians.
41714171
@@ -4227,7 +4227,7 @@ def sinh(self, inplace=False):
42274227
42284228
Units are accounted for in the calculation. If the units are
42294229
not equivalent to radians (such as Kelvin) then they are
4230-
treated as if they were radians. For example, the the
4230+
treated as if they were radians. For example, the
42314231
hyperbolic sine of 90 degrees_north is 2.30129890, as is the
42324232
hyperbolic sine of 1.57079632 radians.
42334233
@@ -4288,7 +4288,7 @@ def cosh(self, inplace=False):
42884288
42894289
Units are accounted for in the calculation. If the units are
42904290
not equivalent to radians (such as Kelvin) then they are
4291-
treated as if they were radians. For example, the the
4291+
treated as if they were radians. For example, the
42924292
hyperbolic cosine of 0 degrees_east is 1.0, as is the
42934293
hyperbolic cosine of 1.57079632 radians.
42944294

cf/mixin/propertiesdatabounds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3009,7 +3009,7 @@ def tanh(self, bounds=True, inplace=False):
30093009
30103010
Units are accounted for in the calculation. If the units are not
30113011
equivalent to radians (such as Kelvin) then they are treated as if
3012-
they were radians. For example, the the hyperbolic tangent of 90
3012+
they were radians. For example, the hyperbolic tangent of 90
30133013
degrees_east is 0.91715234, as is the hyperbolic tangent of
30143014
1.57079632 radians.
30153015
@@ -3069,7 +3069,7 @@ def sinh(self, bounds=True, inplace=False):
30693069
30703070
Units are accounted for in the calculation. If the units are not
30713071
equivalent to radians (such as Kelvin) then they are treated as if
3072-
they were radians. For example, the the hyperbolic sine of 90
3072+
they were radians. For example, the hyperbolic sine of 90
30733073
degrees_north is 2.30129890, as is the hyperbolic sine of
30743074
1.57079632 radians.
30753075
@@ -3128,7 +3128,7 @@ def cosh(self, bounds=True, inplace=False):
31283128
31293129
Units are accounted for in the calculation. If the units are not
31303130
equivalent to radians (such as Kelvin) then they are treated as if
3131-
they were radians. For example, the the hyperbolic cosine of 0
3131+
they were radians. For example, the hyperbolic cosine of 0
31323132
degrees_east is 1.0, as is the hyperbolic cosine of 1.57079632 radians.
31333133
31343134
The output units are changed to '1' (nondimensional).

cf/read_write/read.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class read(cfdm.read):
8888
the end of the Python session, at which time it is automatically
8989
deleted. The CDL file may omit data array values (as would be the
9090
case, for example, if the file was created with the ``-h`` or
91-
``-c`` option to ``ncdump``), in which case the the relevant
91+
``-c`` option to ``ncdump``), in which case the relevant
9292
constructs in memory will be created with data with all missing
9393
values.
9494

0 commit comments

Comments
 (0)