java TreeMap analogue in Python3

Viewed 1116

As a java guy learning Python I'm trying to find similarities between the languages. I found collections module in python and also built-in structures similar to java collections framework (covered by this post What is/are the Python equivalent(s) to the Java Collections Framework?).

But I haven't found analogue of a TreeMap - a map based on red-black tree - a map sorted by keys and guaranteed log(n) time cost for the get, put and remove operations

Is there such a structure in Python 3.x?

1 Answers
Related