enthought / enthought/traits

Move _TraitType from traits stubs to the core Traits library

Aperta
#1,663 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
component: core component: typing stubs type: enhancement
Lingua principale
Python
Stelle
462
Fork
90
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.