Skip to content

Commit f776a93

Browse files
authored
Change signature to match builtin
1 parent dafbe8b commit f776a93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_pixelbuf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ class PixelBuf: # pylint: disable=too-many-instance-attributes
4444

4545
def __init__( # pylint: disable=too-many-locals,too-many-arguments
4646
self,
47-
n: int,
47+
size: int,
48+
*,
4849
byteorder: str = "BGR",
4950
brightness: float = 1.0,
5051
auto_write: bool = False,

0 commit comments

Comments
 (0)