Oct-28-2019, 02:12 PM
So I made this test:
class Foo(object): aliases = {'b': 'bar', 's': 'spam' 'e': 'eggs'} def do_bar(self, arguments): return [ for argument in arguments]This was the situation I had with the errors posted above: The first error that was detected was in a method, and the second error that was detected was in a previously defined class attribute of the same class. As you can test for yourself, this snippet does not have the same behavior I mentioned above. When run, the syntax error on line 3 is detected first, as you would expect. I guess I did modify it in between runs, and then spaced out about it.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures