246 Public method to get a descriptive string for a style. |
246 Public method to get a descriptive string for a style. |
247 |
247 |
248 @param style the style number (int) |
248 @param style the style number (int) |
249 @return description of the style (string) |
249 @return description of the style (string) |
250 """ |
250 """ |
251 if self.descriptions.has_key(style): |
251 if style in self.descriptions: |
252 return self.descriptions[style] |
252 return self.descriptions[style] |
253 else: |
253 else: |
254 return "" |
254 return "" |