Skip to content

Conversation

@DickerDackel
Copy link
Contributor

Attempt at solving issue #3423 - "Update vector doc to have a brief mention of how to convert to lists or tuples"

@DickerDackel DickerDackel requested a review from a team as a code owner May 28, 2025 12:18
@damusss damusss added the docs label May 28, 2025
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.

Thanks for the contribution! 🥳
I just have one minor nitpick about it. As I mentioned in the contributing channel in the PGC discord server, I don't think this pull is mutually exclusive of #3446, I think it's quite possible for both pulls to merge (although there is a merge conflict in line 38, in which I think this pull's version should win out because it does actually add more detail as opposed to just swapping the order of the words "slices" and "swizzling", which I think are actually in the correct grammatical order here, but I don't really care about that lol)

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! 🎉

Copy link
Member

@damusss damusss left a comment

Choose a reason for hiding this comment

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

Clarifies it a lot, thanks (I had never thought about the Vector2/tuple nature of swizzling myself even if it could be deduced)

@damusss damusss added this to the 2.5.5 milestone May 30, 2025
@damusss damusss merged commit 388496f into pygame-community:main May 30, 2025
1 check passed
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.

Update vector doc to have a brief mention of how to convert to lists or tuples

3 participants