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

Fix #1396 : Allow objects inheriting from list or tuple #1397

Merged
merged 1 commit into from
Dec 7, 2013

Conversation

tonthon
Copy link

@tonthon tonthon commented Jul 30, 2013

A SimpleListAdapter doesn't accept objects inheriting form list or
tuple, because it checks directly the type.

Here, in place of testing the type of the object, we use isinstance.

Also provide a testcase

A SimpleListAdapter doesn't accept objects inheriting form list or
tuple, because it checks directly the type.

Here, in place of testing the type of the object, we use isinstance.

Also provide a testcase
@tito
Copy link
Member

tito commented Aug 2, 2013

Actually, i'm holding this PR until geojeff push its changes to the data/listview branch.

tito added a commit that referenced this pull request Dec 7, 2013
Fix #1396 : Allow objects inheriting from list or tuple
@tito tito merged commit a06a071 into kivy:master Dec 7, 2013
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

Successfully merging this pull request may close these issues.

2 participants