Skip to content

Fixed typo in pygame.image.tobytes docs#3657

Merged
JoKing-1999 merged 1 commit into
pygame:mainfrom
oddbookworm:fixes/tobytes-docs
Jan 7, 2023
Merged

Fixed typo in pygame.image.tobytes docs#3657
JoKing-1999 merged 1 commit into
pygame:mainfrom
oddbookworm:fixes/tobytes-docs

Conversation

@oddbookworm

Copy link
Copy Markdown
Contributor

pygame.image.tobytes said it was an alias for pygame.image.fromstring. Changed it to be an alias for pygame.image.tostring

@Matiiss

Matiiss commented Jan 6, 2023

Copy link
Copy Markdown
Contributor

Given recent changes in the naming of the underlying C functions I'd say that it's more so the other way, especially since (from|to)string may get deprecated.

However, such a change may be out of the scope of this PR.

@Starbuck5 Starbuck5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@JoKing-1999 JoKing-1999 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good change 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Awaiting Merge For PRs that have at least one approving review and can be merged on subsequent reviews docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants