Changes between Version 56 and Version 57 of DeveloperGuidelines/Py_2_3


Ignore:
Timestamp:
07/05/19 23:07:16 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v56 v57  
    221221
    222222'''NB''' For building a list from a single iterable argument, we prefer list comprehensions over {{{map()}}} or {{{filter()}}} for readability and speed.
     223
     224'''NB''' Generator objects (unlike lists, tuples or sets) can only be iterated over once, and they cannot be accessed by index
    223225=== Don't unicode.encode ===
    224226