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

templates.Choice.__repr__ should include default value #127

Open
iamkroot opened this issue Apr 23, 2021 · 1 comment
Open

templates.Choice.__repr__ should include default value #127

iamkroot opened this issue Apr 23, 2021 · 1 comment

Comments

@iamkroot
Copy link

Looks like a small oversight. When printing the template repr for choice, the default field of the initializer is ignored.

@sampsyo
Copy link
Member

sampsyo commented Apr 23, 2021

Sounds reasonable! Happy to merge a quick fix, if anybody would like to put one together.

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

No branches or pull requests

2 participants