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

Already on GitHub? Sign in to your account

use istype on lists/tuples #2951

Merged
merged 4 commits into from Feb 20, 2013

Conversation

Projects
None yet
2 participants
Owner

minrk commented Feb 18, 2013

avoids catching and mistreating subclasses, such as namedtuples.

@ellisonbg ellisonbg added a commit that referenced this pull request Feb 20, 2013

@ellisonbg ellisonbg Merge pull request #2951 from minrk/typecheck
use istype on lists/tuples
32c850e

@ellisonbg ellisonbg merged commit 32c850e into ipython:master Feb 20, 2013

1 check passed

default The Travis build passed
Details

@minrk minrk deleted the minrk:typecheck branch Mar 31, 2014

@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014

@ellisonbg ellisonbg Merge pull request #2951 from minrk/typecheck
use istype on lists/tuples
77a4c16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment