enthought / enthought/traits

Move _TraitType from traits stubs to the core Traits library

Open
#1,663 1 comment 0 reactions 0 assignees View on GitHub
component: core component: typing stubs type: enhancement
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

The [_TraitType](https://github.com/enthought/traits/blob/3e22388e60acca6bb138f54fee06e6f34009c1f3/traits-stubs/traits-stubs/trait_type.pyi#L34) 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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.