Skip to content

fix ValueError('dict is not a sequence'), many times KeyError of 0, beca...#12

Open
encorehu wants to merge 1 commit intomitsuhiko:masterfrom
encorehu:master
Open

fix ValueError('dict is not a sequence'), many times KeyError of 0, beca...#12
encorehu wants to merge 1 commit intomitsuhiko:masterfrom
encorehu:master

Conversation

@encorehu
Copy link

@encorehu encorehu commented Feb 3, 2015

fix ValueError('dict is not a sequence'), many times KeyError of 0, because

xrange(len(2))->[0,1], not d.keys(), which raise KeyError

…ecause

xrange(len(2))->[0,1], not d.keys(), which raise KeyError
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.

1 participant