Made StyledTextTag a new-style class by extending object; allows to work with older python's too

svn: r12859
This commit is contained in:
Doug Blank 2009-08-02 05:25:37 +00:00
parent a717faf4d6
commit d5a9ffe96a

View File

@ -34,7 +34,7 @@ from gen.lib.styledtexttagtype import StyledTextTagType
# StyledTextTag class # StyledTextTag class
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
class StyledTextTag(): class StyledTextTag(object):
"""Hold formatting information for StyledText. """Hold formatting information for StyledText.
StyledTextTag is a container class, it's attributes are directly accessed. StyledTextTag is a container class, it's attributes are directly accessed.