Changes between Initial Version and Version 1 of Ticket #26147, comment 6
- Timestamp:
- 10/12/18 14:01:45 (4 years ago)
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'):}}}.1 And 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'):}}}.