Skip to content

Commit be411a1

Browse files
committed
docs: fix grammar in ButtonPacket.pressed docstring
1 parent 8d8b021 commit be411a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_bluefruit_connect/button_packet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def __init__(self, button, pressed):
6666
"""Construct a ButtonPacket from a button name and the button's state.
6767
6868
:param str button: a single character denoting the button
69-
:param bool pressed: ``True`` if button is pressed; ``False`` if it is release.
69+
:param bool pressed: ``True`` if button is pressed; ``False`` if it is
70+
released.
7071
"""
7172
# This check will catch wrong length and also non-sequence args (like an int).
7273
try:

0 commit comments

Comments
 (0)