Class constructor. The only mandatory argument should be the pattern string. This method B{MUST} be reimplemented by subclasses of L{Pattern}.
(self, pattern)
| 81 | """ |
| 82 | |
| 83 | def __init__(self, pattern): |
| 84 | """ |
| 85 | Class constructor. |
| 86 | |
| 87 | The only mandatory argument should be the pattern string. |
| 88 | |
| 89 | This method B{MUST} be reimplemented by subclasses of L{Pattern}. |
| 90 | """ |
| 91 | raise NotImplementedError() |
| 92 | |
| 93 | def __len__(self): |
| 94 | """ |