Changes between Version 42 and Version 43 of DeveloperGuidelines/Py_2_3


Ignore:
Timestamp:
07/04/19 19:10:27 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v42 v43  
    6363NB 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.
    6464
    65 === No cmp-parameter in sorted ===
     65=== No cmp-parameter in sort/sorted ===
    6666
    6767Python-3 does no longer support the {{{cmp}}} parameter for {{{x.sort()}}} and {{{sorted(x)}}}. We use the {{{key}}} parameter instead.