The latest typing docs has a lot of deprecation notices like the following:
class typing.Deque(deque, MutableSequence[T])
A generic version of collections.deque.New in version 3.5.4.New in version 3.6.1.Deprecated since version 3.9: collections.deque now supports []. See PEP 585 and Generic Alias Type.
What does this means? Should we not use the generic type Deque
(and several others) anymore? I've looked at the references and didn't connect the dots (could be because I'm an intermediate Python user).