-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Minor edits to the Descriptor HowTo Guide #24901
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
58b799d
Fix wrong Sphinx markup preventing syntax highlighting
geryogam f77b0f9
Fix a bug in the ClassMethod Python equivalent
geryogam 1dbd876
Fix the description of the ClassMethod Python equivalent
geryogam d0d301e
Raise TypeError for __get__(None, None) calls
geryogam e87fe37
Fix a typo
geryogam 52a06d0
Use the existing cls variable
geryogam 2f9971b
Allow keyword arguments in Object.__new__
geryogam 2f335ca
Use two more super() for consistency
geryogam 4886dbb
Add Object.__getattribute__ to raise AttributeError with the correct …
geryogam 705c577
Allow attribute lookup from a class in Member.__get__
geryogam c0e6432
Allow keyword arguments in Type.__new__
geryogam 81ec93c
Raise ValueError for slot names conflicting with class variables
geryogam 34eef3a
Update descriptor.rst
geryogam ae8c622
Raise TypeError for non-empty __slots__ in subclasses of variable-len…
geryogam 1d5fb96
Raise TypeError for non-empty __slots__ in subclasses of variable-len…
geryogam 4671b91
Apply requested changes and remove changes on the slots emulation
geryogam 0a132bf
Merge branch 'main' into patch-14
geryogam 62fe4fc
Update descriptor.rst
geryogam 1252f4b
Update descriptor.rst
geryogam 58ae977
Update descriptor.rst
geryogam 5630c64
Update descriptor.rst
geryogam bfb33f7
Merge branch 'main' into patch-14
geryogam 5d45eaa
Revert the two-argument form of super() and forward variadic arguments
geryogam c853e6b
Merge branch 'main' into patch-14
rhettinger bcc9da0
Update descriptor.rst
geryogam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.