Changes between Version 59 and Version 60 of DeveloperGuidelines/Py_2_3


Ignore:
Timestamp:
07/05/19 23:18:18 (5 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Py_2_3

    v59 v60  
    242242x = s3_str(x)
    243243}}}
     244
     245Though, if you want to exclude other types, you can still use {{{basestring}}} for type-checking:
     246{{{#!python
     247if isinstance(x, basestring):
     248    x = s3_str(x)
     249}}}