[I18n-sig] Strawman Proposal: Smart String Test

Toby Dickenson tdickenson@geminidataloggers.com
Fri, 09 Feb 2001 16:15:21 +0000


>Is there a practical problem with this solution?

def isstring(obj):
  return type(obj) in (StringType, UnicodeType) or isinstance(obj,
UserString)



Toby Dickenson
tdickenson@geminidataloggers.com