Changes between Initial Version and Version 1 of Ticket #26147, comment 6


Ignore:
Timestamp:
10/12/18 14:01:45 (14 months ago)
Author:
vklein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26147, comment 6

    initial v1  
    1 And note that mapping types also have an {{{items}}} methods. I think {{{if hasattr(data, 'iteritems') or hasattr(data, 'items'):}}} can be simplified into {{{if hasattr(data, 'items'):}}}.
     1And note that mapping types also have an {{{items}}} methods in python2. I think {{{if hasattr(data, 'iteritems') or hasattr(data, 'items'):}}} can be simplified into {{{if hasattr(data, 'items'):}}}.