Skip to content
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

Fix example code in curses tutorial #126446

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

yi-jiayu
Copy link

@yi-jiayu yi-jiayu commented Nov 5, 2024

This fixes an error in the example code in the curses tutorial illustrating the usage of the wrapper method which causes it to run through all iterations of the loop and error out before displaying anything on screen or waiting for user input.


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

This fixes an error in the example code  illustrating the usage of the `wrapper` method in the curses tutorial which causes it to run through all iterations of the loop and error out before displaying anything on screen or waiting for user input.
Copy link

cpython-cla-bot bot commented Nov 5, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Nov 5, 2024
Copy link
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

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

@ZeroIntensity ZeroIntensity added needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes labels Nov 6, 2024
Copy link
Contributor

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

Nice job spotting this!

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 needs backport to 3.12 bug and security fixes needs backport to 3.13 bugs and security fixes skip issue skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants