Lines Matching refs:od
421 ``od[key] = value`` syntax and the methods ``keys()``, ``values()``, and
451 >>> od = markdown.OrderedDict()
452 >>> od['one'] = 1 # The same as: od.add('one', 1, '_begin')
453 >>> od['three'] = 3 # The same as: od.add('three', 3, '>one')
454 >>> od['four'] = 4 # The same as: od.add('four', 4, '_end')
455 >>> od.items()
463 >>> od.add('two', 2, '>one') # Insert after 'one'
464 >>> od.values()
469 >>> od.add('twohalf', 2.5, '<three') # Insert before 'three'
470 >>> od.keys()
483 MyNode = od['somekey']
487 del od['somekey']
491 od['somekey'] = MyNewObject()