Skip to content

Commit 91503ec

Browse files
committed
Revert the latest commit as it does some harm.
And it is a fix for the wrong problem anyway.
1 parent 890f082 commit 91503ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bpython/cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,7 @@ def getargspec(func):
575575
else:
576576
self.current_func = f
577577

578-
is_bound_method = (inspect.isclass(f) or
579-
(inspect.ismethod(f) and f.im_self is not None))
578+
is_bound_method = inspect.ismethod(f) and f.im_self is not None
580579
try:
581580
if inspect.isclass(f):
582581
self.current_func = f

0 commit comments

Comments
 (0)