Skip to content

[3.12] Docs: Fix Sphinx warnings in sys.rst (#108106) #108178

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
merged 1 commit into from
Aug 20, 2023

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Aug 20, 2023

(cherry picked from commit 29fa7af)

  • 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 [email protected]
Co-authored-by: Adam Turner [email protected]


📚 Documentation preview 📚: https://cpython-previews--108178.org.readthedocs.build/

(cherry picked from commit 29fa7af)

- 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 <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants