Adds an item to the list and checks it's a string.
(self, item)
| 71 | return [entry.lower() for entry in self] |
| 72 | |
| 73 | def append(self, item): |
| 74 | """Adds an item to the list and checks it's a string.""" |
| 75 | if not isinstance(item, str): raise TypeError('Members of this object must be strings. You supplied \"%s\"' % type(item)) |
| 76 | list.append(self, item) |
| 77 | |
| 78 | def extend(self, item): |
| 79 | """Extend the list with another list. Each member of the list must be a string.""" |
no outgoing calls