You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The six package is specifically made for compatibility between python 2 and 3 (2*3 = 6). We use should make use of this for as long as we're still using/supporting python 2. Of particular use, six.string_types is the right check when testing if something is a string (python 2 and 3 have rather different notions about what it means to be a "string" or "unicode" object).
The text was updated successfully, but these errors were encountered:
The six package is specifically made for compatibility between python 2 and 3 (2*3 = 6). We use should make use of this for as long as we're still using/supporting python 2. Of particular use,
six.string_types
is the right check when testing if something is a string (python 2 and 3 have rather different notions about what it means to be a "string" or "unicode" object).The text was updated successfully, but these errors were encountered: