Remove traits.has_traits.any_trait
Open
type: cleanup
- Dominant language
- Python
- Stars
- 462
- Forks
- 90
- PR merge metrics
- No merged PRs in 30d
Description
There's an `any_trait` constant exposed in the `traits.has_traits` module. It's not documented, tested, exposed in `traits.api`, or used within Traits or elsewhere in ETS, and I haven't found uses in other Traits-using projects. The spelling is also confusing: the underscore conflicts with the magic `anytrait` naming used in Traits. I propose that we delete it.
Code: https://github.com/enthought/traits/blob/8ec7fb793278c4706fe34d9096baa56e106f7dc2/traits/has_traits.py#L119-L120
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.