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

Implement Color.__hash__() #114

Merged
merged 1 commit into from Jun 11, 2013

Conversation

3 participants
@klutzy
Contributor

klutzy commented Jun 11, 2013

Since alpha zero colors (e.g. 'rgba(1, 1, 1, 0)') are always equal
but may have different string representations, hash(None) is returned
for such case.

Implement Color.__hash__()
Since alpha zero colors (e.g. 'rgba(1, 1, 1, 0)') are always equal
but may have different string representations, `hash(None)` is returned
for such case.
@coveralls

This comment has been minimized.

coveralls commented Jun 11, 2013

Coverage Status

Coverage increased (+0%) when pulling 9d6f717 on klutzy:feature/hash into d251fbf on dahlia:sequence.

dahlia added a commit that referenced this pull request Jun 11, 2013

Merge pull request #114 from klutzy/feature/__hash__
Implement Color.__hash__()

@dahlia dahlia merged commit 1019a88 into emcconville:sequence Jun 11, 2013

1 check passed

default The Travis CI build passed
Details

@klutzy klutzy deleted the klutzy:feature/__hash__ branch Jun 11, 2013

dahlia added a commit that referenced this pull request Jun 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment