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 pygame module name in setmodescale.py example #1578

Merged
merged 1 commit into from Apr 11, 2020
Merged

Fix pygame module name in setmodescale.py example #1578

merged 1 commit into from Apr 11, 2020

Conversation

ghost
Copy link

@ghost ghost commented Feb 13, 2020

The example wasn't working because the file was using import pygame as pg but line 30 was pygame.display instead of pg.display
I also added the pg. prefix to the pygame constants.

The file is using import pygame as pg and some stuff in the file was using "pygame." instead of "pg.". Also add "pg." to some constants.
@ghost ghost changed the title Fix pygame module name Fix pygame module name in setmodescale.py example Feb 16, 2020
Copy link
Member

@illume illume left a comment

Choose a reason for hiding this comment

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

Thanks :)

@illume illume merged commit 7db3bd2 into pygame:master Apr 11, 2020
@illume illume added the examples label May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant