2011-01-20から1日間の記事一覧

SortedDict

djagno.utils.datastructures.SortedDict >>> from django.utils.datastructures import SortedDict >>> d = SortedDict() >>> d['hoge'] = 'fuga' >>> d {'hoge': 'fuga'} >>> d['foo'] = 'bar' >>> d {'hoge': 'fuga', 'foo': 'bar'} >>> d.keyOrder ['hog…