[entropy.const] cosmethical change

This commit is contained in:
Fabio Erculiani
2009-10-04 18:36:18 +02:00
parent 116f43fe0c
commit b615f7d5f9
+1 -1
View File
@@ -1347,7 +1347,7 @@ def const_isstring(obj):
@rtype: bool
"""
if sys.hexversion >= 0x3000000:
return isinstance(obj, (str, bytes,))
return isinstance(obj, (str, bytes))
else:
return isinstance(obj, basestring)