comparison tests/doctest.txt @ 39:d1e9602145fa

rudimentary deletion and notes to self
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 25 Dec 2012 12:46:39 -0800
parents df2a719a9b6e
children
comparison
equal deleted inserted replaced
38:df2a719a9b6e 39:d1e9602145fa
67 67
68 >>> graph = MemoryCache() 68 >>> graph = MemoryCache()
69 >>> graph[('a', 'b')] = {'key': 'value'} 69 >>> graph[('a', 'b')] = {'key': 'value'}
70 >>> graph.edges() 70 >>> graph.edges()
71 [('a', 'b')] 71 [('a', 'b')]
72 >>> del graph[('a', 'b')]
73 >>> graph.edges()
74 []
72 75