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

Make parameter a namedtuple #176

Merged
merged 1 commit into from
May 4, 2018
Merged

Conversation

timhoffm
Copy link
Contributor

@timhoffm timhoffm commented May 3, 2018

Refactor the commonly used tuple (param, param_type, desc) to a namedtuple.

This is preparatory for reworking #175 which will fix #72. Apart from that using a named tuple instead of a plain tuple is an improvement by itself.

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great

@jnothman
Copy link
Member

jnothman commented May 4, 2018

I'm going to be bold and merge this

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

Successfully merging this pull request may close these issues.

Anonymous return values have their types populated in the name slot of the tuple.
3 participants