Repository navigation
bpo-17045: Improve C-API doc for PyTypeObject. #7413
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
ericsnowcurrently
merged 43 commits into
python:master
from
ericsnowcurrently:typeobj-doc
Jun 14, 2018
Merged
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
27612d1
Improve C-API doc for PyTypeObject.
ericsnowcurrently 04b4852
Fix up the quick reference table.
ericsnowcurrently e1aced8
Avoid accidental bold.
ericsnowcurrently 337c932
Fix typos.
ericsnowcurrently af5733d
Add markup for NULL.
ericsnowcurrently 4c923e8
Add markup for __dict__.
ericsnowcurrently 3dbba8c
Add markup in the typedefs table.
ericsnowcurrently 490b6ab
Add missing markup.
ericsnowcurrently ea81fc2
Do not worry about tp_del.
ericsnowcurrently 0e591e6
Fix inheritance for tp_as_async.
ericsnowcurrently 46233dc
Fix inheritance for tp_hash.
ericsnowcurrently 414448f
Clarify tp_hash when NULL.
ericsnowcurrently 356012d
Do not refer to _Py_HashPointer.
ericsnowcurrently f4d6500
Drop duplicate info about PyGetSetDef.
ericsnowcurrently a3021d1
Fix the anchor for tp_as_async.
ericsnowcurrently 39a19c8
Move the quick-ref table legend up below the table.
ericsnowcurrently 305468b
Add links to typedef names in the summary table.
ericsnowcurrently 221181c
Move the slot typedefs table to the quick reference section.
ericsnowcurrently c35b627
Fix the table of contents.
ericsnowcurrently 6759ac7
Add more "info" columns to the tp slots table.
ericsnowcurrently e4994d3
tp_finalize is not internal-only.
ericsnowcurrently cd276bd
Fix table info and add columns.
ericsnowcurrently df5f9ae
Fix table column widths.
ericsnowcurrently ce81b38
Fix the note about inheritance through attr lookup.
ericsnowcurrently 5264f37
Add a placeholder for common cases in the quick ref.
ericsnowcurrently 7f66703
Stub out the type slot typedefs.
ericsnowcurrently 7ba9e24
Add the missing type slot descriptions.
ericsnowcurrently 8ad1cbe
Drop the "Default" section from type slots that do not need it.
ericsnowcurrently 95af724
Add a column for corresponding special method names.
ericsnowcurrently bbbbae0
Add a table for the "sub-slots".
ericsnowcurrently c67b704
minor cleanup
ericsnowcurrently 3b7c312
Fill out the slot typedef descriptions.
ericsnowcurrently 00852e5
Drop trailing parens in pseudo-call.
ericsnowcurrently 9d02687
Do not use a ref in a code block.
ericsnowcurrently 71dfb1d
Add a NEWS entry.
ericsnowcurrently 3d74a2c
Add examples.
ericsnowcurrently c30dec3
Move the examples to the bottom.
ericsnowcurrently ae3ad3d
Add a section about heap types.
ericsnowcurrently 349e245
Add a note about tp_base initialization.
ericsnowcurrently cef58ea
Use a better convention for required type slots in the table.
ericsnowcurrently 6af25b7
Use less confusing phrasing in the table legend.
ericsnowcurrently 8d685e7
Fix accidental upper-cases.
ericsnowcurrently f2df61d
Use less awkward working for the tp_richcompare default.
ericsnowcurrently 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
Add missing markup.
- Loading branch information
commit 490b6abb7f6f629b1822512bf629cc7eac0339a7
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drop a or add a real noun, i.e. “provides tp_richcompare” or “provides a tp_richcompare implementation”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed