nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Sorted Dictionary?

Von: Ole Streicher (ole-usenet-spam@gmx.net) [Profil]
Datum: 15.07.2009 11:15
Message-ID: <ytz1voiz4r4.fsf@news.ole.ath.cx>
Newsgroup: de.comp.lang.python
Hallo,

gibt es in Python (2.X) eine Art "Sorted Dictionary"? Also ein
Dictionary, in welchem ich mit dict[x] den Wert zurückerhalte, dessen
Schlüssel kleiner (oder gleich) x ist?

Also ein Analogon zu Javas java.util.SortedSet/TreeSet?

Viele Grüße

Ole

[ Auf dieses Posting antworten ]

Antworten