Lichen

tests/dicts.py

128:e3392c6469c9
2016-10-24 Paul Boddie Tidied up statement spacing and simple attribute access presentation. Added missing include and variable declarations.
     1 def f(d):     2     return d.keys()     3      4 def g(d):     5     for key, value in d.items():     6         return value     7      8 d = {"a" : 1, "b" : 2}     9 f(d) # ["a", "b"]    10 g(d) # either 1 or 2