]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Docs: Fix Sphinx warnings in sys.rst (#108106) (#108178)
authorErlend E. Aasland <erlend@python.org>
Sun, 20 Aug 2023 21:08:39 +0000 (23:08 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Aug 2023 21:08:39 +0000 (23:08 +0200)
commit399825ed26e0a1873082348f911f34106fc72973
tree954733bd65cf856462ead7f5bce1584786ef1fd5
parentfa6cd7f43f3f8ce9b31051b30438549b2c6bc255
[3.12] Docs: Fix Sphinx warnings in sys.rst (#108106) (#108178)

(cherry picked from commit 29fa7afef94d74e18d97485c085d1ccf80c16ca3)

- Mark up named tuple attributes as attributes
- Remove links for external functions
- io.BufferedIOBase has no 'buffer' attribute;
  remove the link and mark up using :attr:`!buffer`
- (Re)format some tables as bullet lists:
  - sys._emscripten_info
  - sys.hash_info
  - sys.int_info
  - sys.thread_info
- In the paragraphs mentioning 'f_trace_lines' and 'f_trace_opcodes',
  add links to the frame objects reference.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Doc/library/sys.rst
Doc/library/textwrap.rst
Doc/tools/.nitignore