]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Docs: Fix Sphinx warnings in sys.rst (#108106)
authorErlend E. Aasland <erlend@python.org>
Sun, 20 Aug 2023 11:09:33 +0000 (13:09 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Aug 2023 11:09:33 +0000 (13:09 +0200)
commit29fa7afef94d74e18d97485c085d1ccf80c16ca3
treebe84184f6761075d72f70dc07f2129a39ffae6c9
parentbeffb30dc7a07044f4198245d049ddda1f4b24db
Docs: Fix Sphinx warnings in sys.rst (#108106)

- 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