author | Bryan O'Sullivan <bos@serpentine.com> |
Sun, 27 Dec 2015 23:55:54 +0900 | |
changeset 27524 | f5b6b4e574c1 |
parent 27371 | 45d996a566d7 |
child 27576 | 6cd3044985c2 |
permissions | -rw-r--r-- |
18603 | 1 |
'a' in d: True |
2 |
d['a']: va |
|
3 |
'b' in d: True |
|
4 |
d['b']: vb |
|
5 |
'c' in d: True |
|
6 |
d['c']: vc |
|
7 |
'd' in d: True |
|
8 |
d['d']: vd |
|
9 |
'a' in d: False |
|
10 |
'b' in d: True |
|
11 |
d['b']: vb |
|
12 |
'c' in d: True |
|
13 |
d['c']: vc |
|
14 |
'd' in d: True |
|
15 |
d['d']: vd |
|
16 |
'e' in d: True |
|
17 |
d['e']: ve |
|
18 |
'b' in d: True |
|
19 |
d['b']: vb2 |
|
20 |
'c' in d: True |
|
21 |
d['c']: vc2 |
|
22 |
'd' in d: True |
|
23 |
d['d']: vd |
|
24 |
'e' in d: False |
|
25 |
'f' in d: True |
|
26 |
d['f']: vf |
|
19710
887ffa22fd0d
lrucachedict: implement clear()
Siddharth Agarwal <sid0@fb.com>
parents:
18603
diff
changeset
|
27 |
'b' in d: False |
887ffa22fd0d
lrucachedict: implement clear()
Siddharth Agarwal <sid0@fb.com>
parents:
18603
diff
changeset
|
28 |
'c' in d: False |
887ffa22fd0d
lrucachedict: implement clear()
Siddharth Agarwal <sid0@fb.com>
parents:
18603
diff
changeset
|
29 |
'd' in d: False |
887ffa22fd0d
lrucachedict: implement clear()
Siddharth Agarwal <sid0@fb.com>
parents:
18603
diff
changeset
|
30 |
'e' in d: False |
887ffa22fd0d
lrucachedict: implement clear()
Siddharth Agarwal <sid0@fb.com>
parents:
18603
diff
changeset
|
31 |
'f' in d: False |
27371
45d996a566d7
util: reimplement lrucachedict
Gregory Szorc <gregory.szorc@gmail.com>
parents:
19710
diff
changeset
|
32 |
'a' in d: True |
45d996a566d7
util: reimplement lrucachedict
Gregory Szorc <gregory.szorc@gmail.com>
parents:
19710
diff
changeset
|
33 |
d['a']: 1 |
45d996a566d7
util: reimplement lrucachedict
Gregory Szorc <gregory.szorc@gmail.com>
parents:
19710
diff
changeset
|
34 |
'b' in d: True |
45d996a566d7
util: reimplement lrucachedict
Gregory Szorc <gregory.szorc@gmail.com>
parents:
19710
diff
changeset
|
35 |
d['b']: 2 |