Changes between Version 41 and Version 42 of DeveloperGuidelines/Py_2_3


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

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v41 v42  
    7171# Python-2 pattern, not working in Python-3:
    7272x = sorted(x, cmp=locale.strcoll)
     73
    7374# Python-3 pattern, not working with unicode in Python-2:
    7475x = sorted(x, key=locale.strxfrm)
     76
    7577# Compatible pattern:
    7678from s3compat import sorted_locale