mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 20:25:17 +03:00
13 lines
471 B
Diff
13 lines
471 B
Diff
diff --git a/pyfirmata/pyfirmata.py b/pyfirmata/pyfirmata.py
|
|
index 045efc4..06b0c9d 100755
|
|
--- a/pyfirmata/pyfirmata.py
|
|
+++ b/pyfirmata/pyfirmata.py
|
|
@@ -182,7 +182,7 @@ class Board(object):
|
|
|
|
def add_cmd_handler(self, cmd, func):
|
|
"""Adds a command handler for a command."""
|
|
- len_args = len(inspect.getargspec(func)[0])
|
|
+ len_args = len(inspect.getfullargspec(func)[0])
|
|
|
|
def add_meta(f):
|
|
def decorator(*args, **kwargs):
|