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

Move _TraitType from traits stubs to the core Traits library #1663

Open
mdickinson opened this issue Jul 11, 2022 · 1 comment
Open

Move _TraitType from traits stubs to the core Traits library #1663

mdickinson opened this issue Jul 11, 2022 · 1 comment
Labels
component: core Issues related to the core library component: typing stubs Issues related to the mypy typing stub files type: enhancement

Comments

@mdickinson
Copy link
Member

The _TraitType generic class is a potentially useful helper for others writing type declarations. I'd suggest renaming it (at least to remove the _ prefix) and moving it to a new module traits.typing.

@mdickinson mdickinson changed the title Move Move _TraitType from traits stubs to the core Traits library Jul 11, 2022
@mdickinson mdickinson added component: typing stubs Issues related to the mypy typing stub files component: core Issues related to the core library type: enhancement labels Jul 11, 2022
@corranwebster
Copy link
Contributor

I am +1 on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: core Issues related to the core library component: typing stubs Issues related to the mypy typing stub files type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants