Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-101100: Fix Sphinx warnings forfileno#111118

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 2 commits intopython:mainfromhugovk:docs-fix-sphinx-fileno
Oct 23, 2023

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedOct 20, 2023
edited by github-actionsbot
Loading

Most of these references tofileno are relating to generic objects, so add! to them. Add the full reference to:meth:`~fileinput.fileno`.

Also fix Sphinx warnings inDoc/library/bz2.rst by documenting the missing methods using their docstrings.


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

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Should not some of references be toio.IOBase.fileno?

@hugovk
Copy link
MemberAuthor

Good idea, updated!

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I once thought about fixing all wild references to file methods, but shelved the idea. If you're going to do it, it's best to do it in one PR rather than opening a PR for every method. Then you will be sure that they are unified.

But this PR LGTM.

hugovk reacted with thumbs up emoji
@hugovkhugovk merged commit96cbd1e intopython:mainOct 23, 2023
@hugovkhugovk deleted the docs-fix-sphinx-fileno branchOctober 23, 2023 19:05
@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 23, 2023
(cherry picked from commit96cbd1e)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 23, 2023
(cherry picked from commit96cbd1e)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-app
Copy link

GH-111226 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelOct 23, 2023
@bedevere-app
Copy link

GH-111227 is a backport of this pull request to the3.11 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.11only security fixes labelOct 23, 2023
hugovk added a commit that referenced this pull requestOct 23, 2023
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull requestOct 23, 2023
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugovk@serhiy-storchaka

[8]ページ先頭

©2009-2025 Movatter.jp