-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
Docs: split builtins to their own page from library #156682
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
+157
−69
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a43413e
Docs: split builtins to their own page from library
nedbat 16703c4
review feedback
nedbat 92babb2
addressed Hugo's feedback
nedbat c2dbc6e
update the What's Next page
nedbat cb15b64
one more wording tweak
nedbat 03f29d1
move builtins to their own directory. fix the reference name
nedbat c28b536
moved pages need to be noted in tools/removed-ids.txt
nedbat 58fa084
add Python to the builtins reference title
nedbat 45d2eeb
add sphinxext-rediraffe for the library->builtins split
nedbat 2be0ba5
update check-html-ids to handle rediraffe redirects
nedbat 5f8e102
now we don't need (page missing) for the redirected pages
nedbat d871e32
update other references to moved pages
nedbat 485770d
A seealso from builtins to library
nedbat b16e35b
make a nice section for rediraffe settings
nedbat 016ce6b
move the builtins note to the end, as a seealso
nedbat 0ef2bd8
address merwok's comments
nedbat 7caff5c
cache looking for ids in files
nedbat b3130e7
simplify the intro paragraphs
nedbat 796382e
Merge branch 'main' into nedbat/split-builtin-stdlib
nedbat e02ea99
Merge branch 'main' into nedbat/split-builtin-stdlib
nedbat 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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| .. _builtins-index: | ||
|
|
||
| ############################## | ||
| Python built-ins reference | ||
| ############################## | ||
|
|
||
| Python comes with a number of built-in functions and classes. | ||
|
|
||
| The built-in classes include data types that would normally be considered part | ||
| of the "core" of a language, such as numbers and lists. For these types, the | ||
| Python language core defines the form of literals and places some constraints | ||
| on their semantics, but does not fully define the semantics. | ||
|
|
||
| The built-ins also include functions and exceptions --- objects that can | ||
| be used by all Python code without the need of an :keyword:`import` statement. | ||
| Some of these are defined by the core language, but many are not essential for | ||
| the core semantics and are only described here. | ||
|
|
||
| .. seealso:: | ||
|
|
||
| In addition to the built-ins, Python provides an extensive importable | ||
| standard library, see :ref:`library-index`. | ||
|
|
||
| .. We don't use :numbered: option for the TOC below as it enforces | ||
| numbered sections for the entire builtin docs. If desired, | ||
| :numbered: can be enabled on a per-page basis. | ||
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
| stdtypes.rst | ||
| constants.rst | ||
| functions.rst | ||
| exceptions.rst | ||
| threadsafety.rst | ||
| time-complexity.rst | ||
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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
|
nedbat marked this conversation as resolved.
|
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.