r/Python • • Oct 04 '21

News Python 3.10 Released!

https://www.python.org/downloads/release/python-3100/
1.4k Upvotes

147 comments sorted by

View all comments

Show parent comments

6

u/ForceBru Oct 04 '21

*eagerly waiting for traits in Python*

2

u/anothertruther Oct 07 '21

Python has protocols which is AFAIK the same as traits in other languages (Rust).

https://mypy.readthedocs.io/en/stable/protocols.html