File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def isinf(x: float) -> bool:
159159 ...
160160
161161def isnan (x : float ) -> bool :
162- """Check is a value is not-a-number (NaN).
162+ """Check if a value is not-a-number (NaN).
163163
164164 Example: ``math.isnan(float('nan'))``
165165
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def running_time() -> int:
132132 """
133133
134134def temperature () -> int :
135- """Get the temperature of the micro:bit in degrees Celcius ."""
135+ """Get the temperature of the micro:bit in degrees Celsius ."""
136136
137137def set_volume (v : int ) -> None :
138138 """Sets the volume.
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class SoundEffect:
6666 """No effect option used for the ``fx`` parameter."""
6767
6868 FX_TREMOLO : ClassVar [int ]
69- """Tremelo effect option used for the ``fx`` parameter."""
69+ """Tremolo effect option used for the ``fx`` parameter."""
7070
7171 FX_VIBRATO : ClassVar [int ]
7272 """Vibrato effect option used for the ``fx`` parameter."""
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def scan() -> List[int]:
3434 ...
3535
3636def read (addr : int , n : int , repeat : bool = False ) -> bytes :
37- """Read bytes from a device..
37+ """Read bytes from a device.
3838
3939 Example: ``i2c.read(0x50, 64)``
4040
You can’t perform that action at this time.
0 commit comments