Changes between Version 31 and Version 32 of DeveloperGuidelines/Py_2_3
- Timestamp:
- 06/28/19 09:36:41 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Py_2_3
v31 v32 105 105 ||basestring||type||{{{from s3compat import basestring}}}|| || 106 106 ||unichr||function||{{{from s3compat import unichr}}}|| || 107 ||unicodeT||type||{{{from s3compat import unicodeT}}}||for type checking, instead of {{{unicode}}} in Py2, maps to {{{str}}} in Py3|| 107 108 ||STRING_TYPES||tuple||{{{from s3compat import STRING_TYPES}}}||maps to tuple of all known string types: (str,unicode) in Py2, (str,) in Py3, for type checking|| 108 109 ||long||type||{{{from s3compat import long}}}||same as {{{int}}} in Py3, so can occasionally lead to redundancy||