On Mon, 29 Dec 2025 at 20:40, Schimon Jehudah via Python-list <[email protected]> wrote: > (Pdb) args.class > *** SyntaxError: invalid syntax > (Pdb) >
You can use getattr(args, "class") if you like (this works for all objects). But it's probably easier to dodge the issue by changing the spelling of the destination. ChrisA -- https://mail.python.org/mailman3//lists/python-list.python.org
