File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def isinf(x: float) -> bool:
159
159
...
160
160
161
161
def isnan (x : float ) -> bool :
162
- """Check is a value is not-a-number (NaN).
162
+ """Check if a value is not-a-number (NaN).
163
163
164
164
Example: ``math.isnan(float('nan'))``
165
165
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def running_time() -> int:
132
132
"""
133
133
134
134
def temperature () -> int :
135
- """Get the temperature of the micro:bit in degrees Celcius ."""
135
+ """Get the temperature of the micro:bit in degrees Celsius ."""
136
136
137
137
def set_volume (v : int ) -> None :
138
138
"""Sets the volume.
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ def scan() -> List[int]:
34
34
...
35
35
36
36
def read (addr : int , n : int , repeat : bool = False ) -> bytes :
37
- """Read bytes from a device..
37
+ """Read bytes from a device.
38
38
39
39
Example: ``i2c.read(0x50, 64)``
40
40
You can’t perform that action at this time.
0 commit comments