namedtuples anamoly

Jason Friedman jsf80238 at gmail.com
Thu Oct 18 12:42:38 EDT 2018


>
> So now the real question is:  What were you trying to accomplish with
> the assignment?  Tell us, and let's see if we can find a way to
> accomplish yor goal without wrecking the internals of the Grade class.
>
> And depending on your answer to that question, the new Data Classes
feature in 3.7 may be of interest to you:
https://www.python.org/dev/peps/pep-0557/.



More information about the Python-list mailing list