Skip to content

Commit

Permalink
Typos/misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed Nov 2, 2023
1 parent 872fb5f commit 362ce52
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lang/en/typeshed/stdlib/math.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def isinf(x: float) -> bool:
...

def isnan(x: float) -> bool:
"""Check is a value is not-a-number (NaN).
"""Check if a value is not-a-number (NaN).
Example: ``math.isnan(float('nan'))``
Expand Down
2 changes: 1 addition & 1 deletion lang/en/typeshed/stdlib/microbit/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def running_time() -> int:
"""

def temperature() -> int:
"""Get the temperature of the micro:bit in degrees Celcius."""
"""Get the temperature of the micro:bit in degrees Celsius."""

def set_volume(v: int) -> None:
"""Sets the volume.
Expand Down
2 changes: 1 addition & 1 deletion lang/en/typeshed/stdlib/microbit/audio.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SoundEffect:
"""No effect option used for the ``fx`` parameter."""

FX_TREMOLO: ClassVar[int]
"""Tremelo effect option used for the ``fx`` parameter."""
"""Tremolo effect option used for the ``fx`` parameter."""

FX_VIBRATO: ClassVar[int]
"""Vibrato effect option used for the ``fx`` parameter."""
Expand Down
2 changes: 1 addition & 1 deletion lang/en/typeshed/stdlib/microbit/i2c.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def scan() -> List[int]:
...

def read(addr: int, n: int, repeat: bool = False) -> bytes:
"""Read bytes from a device..
"""Read bytes from a device.
Example: ``i2c.read(0x50, 64)``
Expand Down

0 comments on commit 362ce52

Please sign in to comment.