Skip to content

Conversation

@johnslavik
Copy link
Contributor

@johnslavik johnslavik commented Jan 27, 2025

@johnslavik
Copy link
Contributor Author

Concern to address: duplication of repr docs in the help string.

My idea: change the __repr__ docstring to a different one, underlining its overridability.

@johnslavik
Copy link
Contributor Author

This PR assumes super() works in typing.NamedTuple subclasses, so it is blocked by #129352.

@rhettinger rhettinger self-assigned this Jan 28, 2025
@rhettinger rhettinger closed this Feb 3, 2025
@johnslavik johnslavik deleted the add-namedtuple-_repr branch February 3, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants