From 9bf5e4f32bc703357c8757f8208fa8c34558c1fa Mon Sep 17 00:00:00 2001 From: Alok Patel <49090662+AlokPatel99@users.noreply.github.com> Date: Fri, 8 Apr 2022 15:09:54 -0400 Subject: [PATCH] Update vbfunctions.py I tried to import the functions of the file, but was getting error at this line. --- vb2py/vbfunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vb2py/vbfunctions.py b/vb2py/vbfunctions.py index 776ab60..ce79b16 100644 --- a/vb2py/vbfunctions.py +++ b/vb2py/vbfunctions.py @@ -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)) #