Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Named tuples when possible #46

Open
LudovicRousseau opened this issue Aug 1, 2017 · 0 comments
Open

Use Named tuples when possible #46

LudovicRousseau opened this issue Aug 1, 2017 · 0 comments
Assignees

Comments

@LudovicRousseau
Copy link
Owner

Use Named tuples https://docs.python.org/3/library/collections.html#namedtuple-factory-function-for-tuples-with-named-fields instead of tuples.

For example .transmit() could return a named tuple [response="", sw1=, sw2=].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant