Changes between Version 31 and Version 32 of DeveloperGuidelines/Py_2_3


Ignore:
Timestamp:
06/28/19 09:36:41 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v31 v32  
    105105||basestring||type||{{{from s3compat import basestring}}}|| ||
    106106||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||
    107108||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||
    108109||long||type||{{{from s3compat import long}}}||same as {{{int}}} in Py3, so can occasionally lead to redundancy||