Skip to content

Commit 826240b

Browse files
committed
Fix #371 pymodbus repl on python3
1 parent c410f5b commit 826240b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymodbus/repl/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
if IS_PYTHON2 or PYTHON_VERSION < (3, 3):
2121
argspec = inspect.getargspec
2222
else:
23-
predicate = inspect.ismethod
23+
predicate = inspect.isfunction
2424
argspec = inspect.signature
2525

2626

pymodbus/repl/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
\/ \/ \/ \/ \/ \/|__|
4242
v{} - {}
4343
----------------------------------------------------------------------------
44-
""".format("1.0.0", version)
44+
""".format("1.1.0", version)
4545
log = None
4646

4747

0 commit comments

Comments
 (0)