KEMBAR78
gh-113878: Add `doc` parameter to `dataclasses.field` by sobolevn · Pull Request #114051 · python/cpython · GitHub
Skip to content

Conversation

@sobolevn
Copy link
Member

@sobolevn sobolevn commented Jan 14, 2024

@sobolevn
Copy link
Member Author

@ericvsmith I resolved conflicts and merged main :)

@bedevere-app
Copy link

bedevere-app bot commented Feb 26, 2024

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@sobolevn
Copy link
Member Author

I have made the requested changes; please review again

@sobolevn sobolevn requested a review from ericvsmith February 26, 2024 16:34
@sobolevn
Copy link
Member Author

Thanks, fair comment! I've updated the docs.

@sobolevn
Copy link
Member Author

sobolevn commented Aug 1, 2024

I rebased and updated tests.

@sobolevn sobolevn requested a review from ericvsmith September 24, 2024 07:13
@ericvsmith
Copy link
Member

I was discussing this at the core sprint, and I think I'd prefer to see __slots__ be a tuple of str's if no docs are used. Only switch to a dict if there's at least one doc= specified.

@sobolevn
Copy link
Member Author

Done! 👍

Copy link
Member

@ericvsmith ericvsmith left a comment

Choose a reason for hiding this comment

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

Looks great. Thanks!

@ericvsmith ericvsmith merged commit 9c7657f into python:main Sep 27, 2024
35 of 36 checks passed
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.

2 participants