Skip to content

gh-141627: Fix BufferedRandom inheritance documentation#141629

Open
mohsinm-dev wants to merge 3 commits intopython:mainfrom
mohsinm-dev:fix-bufferedrandom-docs-gh-141627
Open

gh-141627: Fix BufferedRandom inheritance documentation#141629
mohsinm-dev wants to merge 3 commits intopython:mainfrom
mohsinm-dev:fix-bufferedrandom-docs-gh-141627

Conversation

@mohsinm-dev
Copy link
Copy Markdown
Contributor

@mohsinm-dev mohsinm-dev commented Nov 16, 2025

Fix incorrect documentation stating BufferedRandom inherits from BufferedReader and BufferedWriter. It actually inherits from BufferedIOBase in the C implementation.


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

BufferedRandom does not inherit from BufferedReader and BufferedWriter
in the C implementation. Update documentation to accurately state that
it inherits from BufferedIOBase and provides combined functionality.
Comment thread Doc/library/io.rst Outdated
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label May 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review docs Documentation in the Doc dir skip news stale Stale PR or inactive for long period of time.

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

3 participants