Changes between Version 41 and Version 42 of DeveloperGuidelines/Py_2_3
- Timestamp:
- 07/04/19 19:09:03 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Py_2_3
v41 v42 71 71 # Python-2 pattern, not working in Python-3: 72 72 x = sorted(x, cmp=locale.strcoll) 73 73 74 # Python-3 pattern, not working with unicode in Python-2: 74 75 x = sorted(x, key=locale.strxfrm) 76 75 77 # Compatible pattern: 76 78 from s3compat import sorted_locale