8000 Some mixin methods in `collections.abc` are not mentioned in the Document · Issue #114990 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Some mixin methods in collections.abc are not mentioned in the Document #114990

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

Closed
aisk opened this issue Feb 4, 2024 · 1 comment
Closed

Some mixin methods in collections.abc are not mentioned in the Document #114990

aisk opened this issue Feb 4, 2024 · 1 comment
Labels
docs Documentation in the Doc dir

Comments

@aisk
Copy link
Contributor
aisk commented Feb 4, 2024

Documentation

https://docs.python.org/3/library/collections.abc.html

Set

Set.__rsub__ and Set.__rxor__ do exist but not mentioned in the Document.

MappingView

MappingView.__init__ and MappingView.__repr__ have the same issue.

But since __init__ and __repr__ always have default implementation in the base class object, so I'm not sure should we treat them as mixin methods. But the implemntation in MappingView do have it's own logic so I assume they should be mixin methods.

Linked PRs

@aisk aisk added the docs Documentation in the Doc dir label Feb 4, 2024
willingc added a commit that referenced this issue Oct 30, 2024
…H-114991)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 30, 2024
…ent (pythonGH-114991)

(cherry picked from commit 5768fef)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
picnixz pushed a commit to picnixz/cpython that referenced this issue Dec 8, 2024
…ent (pythonGH-114991)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 6, 2025
…ent (pythonGH-114991)

(cherry picked from commit 5768fef)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 6, 2025
…ent (pythonGH-114991)

(cherry picked from commit 5768fef)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
hugovk pushed a commit that referenced this issue Jan 6, 2025
…ment (GH-114991) (#128535)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
hugovk pushed a commit that referenced this issue Jan 6, 2025
…ment (GH-114991) (#128536)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
@hugovk
Copy link
Member
hugovk commented Jan 6, 2025

And now backported to 3.13 and 3.12. Thank you!

@hugovk hugovk closed this as completed Jan 6, 2025
ebonnal pushed a commit to ebonnal/cpython that referenced this issue Jan 12, 2025
…ent (pythonGH-114991)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants
0