Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vb2py/vbfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def VBGetMissingArgument(fn, argument_index):
"""Return the default value for a particular argument of a function"""
try:
args, varargs, varkw, defaults = inspect.getargspec(fn)
except Exception, err:
except Exception:
raise VB2PYCodeError("Unable to determine default argument for arg %d of %s: %s" % (
argument_index, fn, err))
#
Expand Down