Changes between Version 59 and Version 60 of DeveloperGuidelines/Py_2_3
- Timestamp:
- 07/05/19 23:18:18 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Py_2_3
v59 v60 242 242 x = s3_str(x) 243 243 }}} 244 245 Though, if you want to exclude other types, you can still use {{{basestring}}} for type-checking: 246 {{{#!python 247 if isinstance(x, basestring): 248 x = s3_str(x) 249 }}}