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

Update docs for eq-without-hash #14885

Merged
merged 2 commits into from
Dec 20, 2024

Conversation

KotlinIsland
Copy link
Contributor

@KotlinIsland KotlinIsland commented Dec 10, 2024

Summary

resolves #14883

This PR removes the known limitation section in the documentation of eq-without-hash. That is not actually a limitation as a subclass overriding the __eq__ method would have its __hash__ set to None implicitly. The user should explicitly inherit the __hash__ method from the parent class.

Test Plan

Screenshot 2024-12-20 at 2 02 47 PM

Copy link
Contributor

github-actions bot commented Dec 10, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@dhruvmanila dhruvmanila added the documentation Improvements or additions to documentation label Dec 10, 2024
@MichaReiser MichaReiser changed the title (📚) fix docs for eq-without-hash fix docs for eq-without-hash Dec 10, 2024
@MichaReiser
Copy link
Member

@KotlinIsland are you planning to follow up on @dhruvmanila's comment or would you prefer if someone from us updates the documentation?

@KotlinIsland
Copy link
Contributor Author

sorry, I'm just watching a shark movie. I'll have time in the next two days

@KotlinIsland KotlinIsland force-pushed the fix-eq_without_hash branch 6 times, most recently from 858a70c to 52482d2 Compare December 20, 2024 07:57
@dhruvmanila dhruvmanila changed the title fix docs for eq-without-hash Update docs for eq-without-hash Dec 20, 2024
@dhruvmanila dhruvmanila merged commit c0b0491 into astral-sh:main Dec 20, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(📚) docs for PLW1641 known problems doesn't make sense
3 participants