summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* gh-115664: Fix ordering of more versionadded and versionchanged directives ↵Serhiy Storchaka2024-03-072-3/+1
| | | | (GH-116298)
* gh-72971: Clarify the special no-TypeError behavior for equality (#110729)Gouvernathor2024-03-031-1/+4
|
* gh-104219: Document that idunders can return NotImplemented (#104220)Gouvernathor2024-03-011-2/+4
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Docs: mark up NotImplemented using the :data: role throughout the docs (#116135)Erlend E. Aasland2024-02-292-10/+10
|
* Erase some unnecessary quotes on data model doc (#113521)Adorilson Bezerra2024-02-251-4/+4
| | | | Thanks to Pedro Arthur Duarte (pedroarthur.jedi at gmail.com) for help with this bug.
* gh-115572: Move `codeobject.replace()` docs to the data model (#115631)Daler2024-02-181-0/+8
|
* gh-115405: add versionadded tag for co_qualname in code objects ↵Christophe Papazian2024-02-131-0/+2
| | | | documentation (#115411)
* gh-114552: Update `__dir__` method docs: it allows returning an iterable ↵Nikita Sobolev2024-02-101-3/+3
| | | | (#114662)
* Clarify one-item tuple (#114745)Terry Jan Reedy2024-01-301-2/+3
| | | | A 'single tuple' means 'one typle, of whatever length. Remove the unneeded and slight distracting parenthetical 'singleton' comment.
* gh-101100: Fix sphinx warnings in `reference/import.rst` (#114646)Nikita Sobolev2024-01-271-3/+4
|
* gh-101100: Fix Sphinx warnings in `reference/expressions.rst` (#114194)Hugo van Kemenade2024-01-221-26/+26
|
* Fix the confusing "User-defined methods" reference in the datamodel (#114276)cdzhan2024-01-211-1/+1
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* gh-114070: fix token reference warnings in expressions.rst (#114169)Sergey B Kirpichev2024-01-171-2/+3
|
* datamodel: Fix a typo in ``object.__init_subclass__`` (#111599)InSync2024-01-121-1/+1
|
* Docs: Amend codeobject.co_lines docs; end number is exclusive (#113970)Ned Batchelder2024-01-121-3/+3
| | | The end number should be exclusive, not inclusive.
* gh-113664: Improve style of Big O notation (GH-113695)Serhiy Storchaka2024-01-101-1/+1
| | | | Use cursive to make it looking like mathematic formulas.
* Document the `co_lines` method on code objects (#113682)Alex Waygood2024-01-031-2/+37
| | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-81094: Refer to PEP 318 in compound_statements.rst (#113588)John D. McDonald2024-01-021-1/+4
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-113313: Note that slice support is not required for all sequences. ↵Raymond Hettinger2023-12-211-3/+3
| | | | (gh-113377)
* Fix typo in datamodel docs (#113314)Rodrigo Girão Serrão2023-12-201-1/+1
| | | Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
* Docs: Add label to grammar spec for linking from PEPs (#113235)Hugo van Kemenade2023-12-171-0/+2
|
* gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and ↵Alex Waygood2023-12-141-3/+3
| | | | `reference/simple_stmts.rst` (#113107)
* gh-101100: Improve docs on exception attributes (GH-113057)Alex Waygood2023-12-132-9/+22
| | | | | | | | | | | * Improve docs on exception attributes * thanks sphinx-lint * fix doctests * argh, okay, give up on doctests * Various improvements
* gh-101100: Further improve docs on function attributes (#113001)Alex Waygood2023-12-121-3/+6
|
* gh-101100: Improve documentation on function attributes (#112933)Alex Waygood2023-12-112-93/+111
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Docs: Use 'f-strings' as header (#112888)Hugo van Kemenade2023-12-101-2/+4
|
* gh-101100: Improve documentation of `TracebackType` attributes (#112884)Alex Waygood2023-12-091-21/+39
|
* gh-101100: Improve documentation for attributes on instance methods (#112832)Alex Waygood2023-12-081-25/+52
|
* gh-101100: Improve documentation of code object attributes (#112781)Alex Waygood2023-12-061-30/+84
|
* gh-101100: Properly document frame object attributes (#112735)Alex Waygood2023-12-051-25/+59
|
* gh-101100: Fix many easily solvable Sphinx nitpicks in the datamodel docs ↵Alex Waygood2023-12-051-26/+32
| | | | (#112737)
* gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (#112662)Alex Waygood2023-12-031-0/+2
|
* gh-112331: Fix reference manual description of attribute lookup mechanics ↵Raymond Hettinger2023-11-251-6/+12
| | | | (gh-112375)
* gh-111944: Add assignment expression parentheses requirements (#111977)Terry Jan Reedy2023-11-131-4/+5
| | | | | | | gh-111944: Clarify where assignment expressions require ()s Augment the list of places where parentheses are required around assignnment statements. In particular, 'a := 0' and 'a = b := 1' are syntax errors.
* gh-79932: raise exception if frame.clear() is called on a suspended frame ↵Irit Katriel2023-11-071-1/+6
| | | | (#111792)
* Fix typos in import system docs (#111396)Jonathan Berthias2023-10-271-3/+3
|
* GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` (#110112)Adam Turner2023-10-192-13/+13
|
* GH-101100: Fix reference warnings for ``__getitem__`` (#110118)Adam Turner2023-10-192-4/+4
|
* gh-110886 Doc: add a link to BNF Wikipedia article (#110887)partev2023-10-151-1/+2
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-110631: Fix reST indentation in `Doc/reference` (#110708)Ezio Melotti2023-10-114-77/+79
| | | Fix wrong indentation in the Doc/reference dir.
* gh-109634: Fix `:samp:` syntax (GH-110073)Jacob Coffee2023-09-291-1/+1
|
* gh-109634: Use :samp: role (GH-109635)Serhiy Storchaka2023-09-231-42/+42
|
* fixes gh-109559: Update `unicodedata` for Unicode 15.1.0 (GH-109560)James Gerity2023-09-201-4/+4
| | | | | --------- Co-authored-by: Benjamin Peterson <benjamin@python.org>
* Docs: Resolve Sphinx warnings in dis.rst (#108476)Erlend E. Aasland2023-08-251-1/+3
| | | | | - Link to the code objects reference - Suppress link to deliberately undocumented builtins.__build_class__ - Suppress links for example methods
* Datamodel: Add headings to the standard type hierarchy (#108146)Adam Turner2023-08-251-1000/+1104
| | | Dedent content according to the new layout.
* Docs: Datamodel: Merge "Notes on using __slots__" with the parent section ↵Adam Turner2023-08-251-2/+1
| | | | (#108400)
* gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386)Serhiy Storchaka2023-07-293-6/+6
|
* gh-102111: Add link to string escape sequences in re module (#106995)wulmer2023-07-231-0/+4
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-106892: Use roles :data: and :const: for referencing module variables ↵Serhiy Storchaka2023-07-211-2/+2
| | | | (GH-106894)
* gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920)Serhiy Storchaka2023-07-211-2/+2
|