Changes between Version 42 and Version 43 of DeveloperGuidelines/Py_2_3
- Timestamp:
- 07/04/19 19:10:27 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Py_2_3
v42 v43 63 63 NB the Python-2.7 {{{exec}}} statement also accepts a 3-tuple as parameter {{{exec(expr, globals, locals)}}} which syntax is equivalent to the exec-function in Python-3. 64 64 65 === No cmp-parameter in sort ed ===65 === No cmp-parameter in sort/sorted === 66 66 67 67 Python-3 does no longer support the {{{cmp}}} parameter for {{{x.sort()}}} and {{{sorted(x)}}}. We use the {{{key}}} parameter instead.