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

Documentation of mixed_list #110

Closed
JorisCod opened this issue May 11, 2016 · 2 comments
Closed

Documentation of mixed_list #110

JorisCod opened this issue May 11, 2016 · 2 comments

Comments

@JorisCod
Copy link

There is a discrepancy in the documentation of mixed_list. In the html, it is said to work as mixed_list(str, int), while actually it is mixed_list('string', 'integer').

See https://github.com/DiffSK/configobj/search?utf8=%E2%9C%93&q=mixed_list
and you will see what I mean

@EliAndrewC
Copy link
Member

Whoops, at a glance, it looks like you're right. I've never actually used mixed_list before, so I never noticed!

@jhermann
Copy link
Collaborator

I adapted the code to the docs instead of the other way 'round, to also handle inconsistencies like integer vs. int_list (not integer_list) vs. built-in type int – for built-in types, you can now use all 3 forms (non-quoted type name, short name, long name).

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

3 participants