We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e4675c commit dc3cd83Copy full SHA for dc3cd83
adafruit_bluefruit_connect/color_packet.py
@@ -44,10 +44,10 @@ class ColorPacket(Packet):
44
_TYPE_HEADER = b"!C"
45
46
def __init__(self, color):
47
- """Construct a ColorPacket from a 3-tuple of RGB values,
48
- or from an int color value 0xRRGGBB.
+ """Construct a ColorPacket from a 3-element :class:`tuple` of RGB
+ values, or from an int color value 0xRRGGBB.
49
50
- :param tuple/int color: an RGB tuple ``(red, green, blue)``
+ :param tuple/int color: an RGB :class:`tuple` ``(red, green, blue)``
51
or an int color value ``0xRRGGBB``
52
"""
53
if isinstance(color, int):
0 commit comments