Changes between Version 56 and Version 57 of DeveloperGuidelines/Py_2_3
- Timestamp:
- 07/05/19 23:07:16 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Py_2_3
v56 v57 221 221 222 222 '''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 223 225 === Don't unicode.encode === 224 226