Changes between Initial Version and Version 1 of Ticket #13394, comment 93


Ignore:
Timestamp:
11/02/13 10:37:55 (6 years ago)
Author:
SimonKing
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13394, comment 93

    initial v1  
    66    yield "{"
    77    i = self.iteritems()
    8     k,v = i.next()
    9     yield "%s: %s"%(k,v)
     8    try:
     9        k,v = i.next()
     10        yield "%s: %s"%(k,v)
     11    except StopIteration:
     12        pass
    1013    for k, v in i:
    1114        yield ", %s: %s"%(k,v)