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

Simplify the encoding parsing routine #336

Merged
merged 3 commits into from May 1, 2014
Merged

Conversation

pjz
Copy link
Contributor

@pjz pjz commented May 1, 2014

Use None as a sentry value and impose the default if it ends up still None after we look at the lines.

This lets us get rid of the enumerate() and magic number 0.

pjz added a commit that referenced this pull request May 1, 2014
Simplify the encoding parsing routine
@pjz pjz merged commit 2c08c44 into master May 1, 2014
@pjz pjz deleted the simplify_encoding_parsing branch May 1, 2014 17:47
Changaco pushed a commit that referenced this pull request Mar 11, 2016
Simplify the encoding parsing routine
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.

None yet

2 participants