summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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-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>
* gh-101100: Improve docs on exception attributes (GH-113057)Alex Waygood2023-12-131-1/+2
| | | | | | | | | | | * 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-111-90/+107
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* 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-79932: raise exception if frame.clear() is called on a suspended frame ↵Irit Katriel2023-11-071-1/+6
| | | | (#111792)
* GH-101100: Fix reference warnings for ``__enter__`` and ``__exit__`` (#110112)Adam Turner2023-10-191-3/+3
|
* 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-291-4/+4
|
* gh-106892: Use roles :data: and :const: for referencing module variables ↵Serhiy Storchaka2023-07-211-2/+2
| | | | (GH-106894)
* Fix typo in datamodel.rst (#106587)Riahiamirreza2023-07-101-1/+1
|
* gh-106046: Improve error message from `os.fspath` if `__fspath__` is set to ↵Alex Waygood2023-06-251-2/+3
| | | | `None` (#106082)
* gh-103921: Document PEP 695 (#104642)Jelle Zijlstra2023-05-261-0/+12
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-97950: Use new-style index directive ('builtin') (#104164)Adam Turner2023-05-061-25/+25
| | | | | | | | | | | | | * Uncomment builtin removal in pairindextypes * Use new-style index directive ('builtin') - C API * Use new-style index directive ('builtin') - Extending * Use new-style index directive ('builtin') - Library * Use new-style index directive ('builtin') - Reference * Use new-style index directive ('builtin') - Tutorial
* gh-102500: Document PEP 688 (#102571)Jelle Zijlstra2023-05-041-0/+41
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* GH-97950: Use new-style index directive ('statement') (#104162)Adam Turner2023-05-041-4/+4
|
* GH-97950: Use new-style index directive ('object') (#104158)Adam Turner2023-05-041-44/+44
| | | | | | | | | | | * Uncomment object removal in pairindextypes * Use new-style index directive ('object') - C API * Use new-style index directive ('object') - Library * Use new-style index directive ('object') - Reference * Use new-style index directive ('object') - Tutorial
* GH-97950: Use new-style index directive ('module') (#103996)Adam Turner2023-05-041-4/+4
| | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
* GH-103484: Fix redirected permanently URLs (#104001)Rafael Fontenelle2023-05-021-1/+1
| | | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Oleg Iarygin <dralife@yandex.ru>
* gh-101688: Implement types.get_original_bases (#101827)James Hilton-Balfe2023-04-231-0/+4
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-103373: `__mro_entries__` docs: improve cross references (#103398)Alex Waygood2023-04-111-5/+10
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-103373: Improve documentation for `__mro_entries__` (#103374)Alex Waygood2023-04-081-5/+9
|
* gh-101865: Deprecate `co_lnotab` from code objects as per PEP 626 (#101866)Nikita Sobolev2023-04-031-1/+2
| | | Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* gh-100315: clarification to `__slots__` docs. (#102621)T2023-03-141-2/+4
| | | refer to tp_itemsize in discussion on "variable-length" built-in types
* gh-102011: use sys.exception() instead of sys.exc_info() in docs where ↵Irit Katriel2023-02-201-0/+1
| | | | possible (#102012)
* GH-101898: Fix missing term references for hashable definition (#101899)Furkan Onder2023-02-141-1/+1
| | | Fix missing term references for hashable definition
* GH-85979: Clarify specification of `object.__await__` (#22320)Paolo Lammens2022-12-311-0/+8
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Fix typo in `__match_args__` doc (#99785)Terry Jan Reedy2022-11-261-1/+1
| | | A opy of #98549, whose author (@icecream17) uses a school computer that blocks the CLA site. I did not mention this in commit comment above so CLA bot does not pick up the name and request the CLA again.
* docs: Change links to label refs (#98454)Stanley2022-10-261-0/+2
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (#97768)Adam Turner2022-10-051-1/+1
| | | | | :c:type:`<C type>` -> :c:expr:`<C type>` Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-96348: Deprecate the 3-arg signature of coroutine.throw and ↵Ofey Chan2022-09-301-0/+5
| | | | generator.throw (GH-96428)
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-051-2/+2
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* bpo-14911: Corrected generator.throw() documentation (GH-32207)Dave Goncalves2022-03-311-1/+2
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-46013: Fix confusing kerning on period in docs (GH-29989)jmcb2022-03-201-1/+1
|
* Removed ambiguity in __init_subclass__ docs (GH-31540)David Gilbertson2022-03-081-1/+1
|
* bpo-44977: Deprecate delegation of int to __trunc__ (GH-31031)Zackery Spytz2022-02-031-0/+3
| | | | | Calling int(a) when type(a) implements __trunc__ but not __int__ or __index__ now raises a DeprecationWarning.
* bpo-46076: Improve documentation for per-attribute docstrings with ↵Alex Waygood2021-12-191-3/+6
| | | | `__slots__` (GH-30109)
* Fix some false positives of documentation syntax problemsPablo Galindo2021-12-081-1/+1
|