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

Fix signature of_curses.assume_default_colors in the docs#134409

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
sobolevn merged 1 commit intopython:mainfromsobolevn:fix-curses-doc
May 21, 2025

Conversation

sobolevn
Copy link
Member

@sobolevnsobolevn commentedMay 21, 2025
edited by github-actionsbot
Loading

I think that we should properly document that this function does not accept any keyword args.

>>>import_curses>>>_curses.assume_default_colors<built-infunctionassume_default_colors>>>>_curses.assume_default_colors(fg=1,bg=2)Traceback (mostrecentcalllast):File"<python-input-2>",line1,in<module>_curses.assume_default_colors(fg=1,bg=2)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^TypeError:_curses.assume_default_colors()takesnokeywordarguments

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

Copy link
Member

@hugovkhugovk left a comment

Choose a reason for hiding this comment

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

@hugovkhugovk added needs backport to 3.13bugs and security fixes and removed awaiting merge needs backport to 3.13bugs and security fixes labelsMay 21, 2025
@sobolevnsobolevn merged commitdcfc91e intopython:mainMay 21, 2025
45 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsMay 21, 2025
@miss-islington-app
Copy link

Thanks@sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 21, 2025
…H-134409)(cherry picked from commitdcfc91e)Co-authored-by: sobolevn <mail@sobolevn.me>
@bedevere-app
Copy link

GH-134417 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMay 21, 2025
sobolevn added a commit that referenced this pull requestMay 21, 2025
…H-134409) (#134417)Fix signature of `_curses.assume_default_colors` in the docs (GH-134409)(cherry picked from commitdcfc91e)Co-authored-by: sobolevn <mail@sobolevn.me>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@hugovkhugovkhugovk approved these changes

@AA-TurnerAA-TurnerAwaiting requested review from AA-Turner

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip issueskip news
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@sobolevn@hugovk

[8]ページ先頭

©2009-2025 Movatter.jp