Skip to content

Commit ba1dac7

Browse files
committed
Remove an if block that is never executed
1 parent d42b21a commit ba1dac7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bpython/inspection.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,6 @@ def getfuncprops(func, f):
270270
try:
271271
argspec = get_argspec_from_signature(f)
272272
fixlongargs(f, argspec)
273-
if len(argspec) == 4:
274-
argspec = argspec + [list(), dict(), None]
275273
argspec = ArgSpec(*argspec)
276274
fprops = FuncProps(func, argspec, is_bound_method)
277275
except (TypeError, KeyError, ValueError):

0 commit comments

Comments
 (0)