py
py copied to clipboard
Updated error in except block for removal of id attribute
The error in except block to catch the exception thrown after removal of id attribute should be AttributeError and not NameError as observed in python 3.13.1