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 documentation mix up in attributes of object returned by get_power_state #2734

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

lispspb
Copy link
Contributor

@lispspb lispspb commented Mar 2, 2024

Obvious mistake in docs for pygame.system.get_power_state(): battery_percent attribute has description of battery_seconds and vice versa.

https://pyga.me/docs/ref/system.html#pygame.system.get_power_state

Obvious mistake in docs for pygame.system.get_power_state(): battery_percent attribute has description of battery_seconds and vice versa.
@lispspb lispspb requested a review from a team as a code owner March 2, 2024 17:32
Copy link
Member

@oddbookworm oddbookworm left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the fix!

Copy link
Member

@MyreMylar MyreMylar left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@MyreMylar MyreMylar merged commit f45b277 into pygame-community:main Mar 3, 2024
2 checks passed
@lispspb lispspb deleted the patch-1 branch March 4, 2024 15:35
@lispspb lispspb restored the patch-1 branch March 4, 2024 15:35
@ankith26 ankith26 added this to the 2.5.0 milestone Mar 5, 2024
@ankith26 ankith26 changed the title Update system.rst Fix documentation mix up in attributes of object returned by get_power_state Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants