(self)
| 205 | def __unicode__(self): |
| 206 | return self.string |
| 207 | def __repr__(self): |
| 208 | return "Word(%s)" % repr("%s/%s" % ( |
| 209 | encode_entities(self.string), |
| 210 | self.type is not None and self.type or OUTSIDE)) |
| 211 | |
| 212 | def __eq__(self, word): |
| 213 | return id(self) == id(word) |
nothing calls this directly
no test coverage detected