Closed pradyunsg closed 2 years ago
Bump.
This is an excellent suggestion. Sorry for the late answer, this got lost and stuck between my actual intention to release other stuff containing already this part. Although, if any PR would pop in and that it pass the basic requirements, I'll accept it with pleasure.
Sorry again for this overly late answer anyway.
Great. If and when I get the time to do this, I'll shoot a PR.
If someone else is interested in doing this, please do.
Hi @vaab, should this issue be considered closed?
Closing since it looks like it got solved.
Currently, All attributes and methods of
Color
return tuples or strings. It should be relatively simple to return namedtuples instead of simple tuples.Why? _Namedtuple makes your tuples _self-document. You can easily understand what is going on by having a quick glance at your code.1