Skip to content
This repository was archived by the owner on Apr 20, 2022. It is now read-only.

Commit f6f7f91

Browse files
committed
finally.... fixed doc lint
1 parent 27ff432 commit f6f7f91

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pypixelbuf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
import math
3434
import re
3535

36+
# pylint: disable=invalid-name
37+
3638
RGB = "RGB"
3739
RBG = "RBG"
3840
GRB = "GRB"
@@ -63,11 +65,11 @@ class PixelBuf(object): # pylint: disable=too-many-instance-attributes
6365
"""
6466
A sequence of RGB/RGBW pixels.
6567
66-
This is the pure python implementation of PixelBuf.
68+
This is the pure python implementation of _pixelbuf.
6769
6870
:param ~int n: Number of pixels
6971
:param ~bytearray buf: Bytearray to store pixel data in
70-
:param ~str byteorder: Byte order string constant from `pixelbuf` (also sets the bpp)
72+
:param ~str byteorder: Byte order string constant (also sets the bpp)
7173
:param ~float brightness: Brightness (0 to 1.0, default 1.0)
7274
:param ~bytearray rawbuf: Bytearray to store raw pixel colors in
7375
:param ~int offset: Offset from start of buffer (default 0)
@@ -203,7 +205,7 @@ def brightness(self, value):
203205
@property
204206
def byteorder(self):
205207
"""
206-
`ByteOrder` string for the buffer (read-only)
208+
ByteOrder string for the buffer (read-only)
207209
"""
208210
return self._byteorder_string
209211

0 commit comments

Comments
 (0)