Skip to content

Commit

Permalink
Corrected docstring for Pixel.flash
Browse files Browse the repository at this point in the history
  • Loading branch information
speratus committed Jul 30, 2019
1 parent 8406043 commit 34f8707
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blinkter/pixel.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def flash(self, r=0, g=0, b=0, length=0.25):
"""
Causes this pixel to flash once.
If all of the color parameters (``r``, ``g``, and `b``) Are zero, then sets this pixel to black and flashes the color that the pixel had been prior to calling this method.
If all of the color parameters (``r``, ``g``, and ``b``) Are zero, then sets this pixel to black and flashes the color that the pixel had been prior to calling this method.
The values of the color parameters must be between ``0`` and ``255``.
Expand Down
2 changes: 1 addition & 1 deletion docs/classes/LED.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This enumeration is intended to be used in a very limited set of circumstances.
convenience class for certain operations inside the :class:`Pixel` class. Given the limited scope of its usefulness,
it may be removed in the future.

**Example:**::
**Example:** ::

#Code for obtaining a Pixel class
pixel.set_led(LED.GREEN, 100)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
long_description_content_type='text/markdown',
url='https://github.com/speratus/Blinkter',
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 34f8707

Please sign in to comment.