equal
deleted
inserted
replaced
114 __bytes__ = _tobytes |
114 __bytes__ = _tobytes |
115 |
115 |
116 |
116 |
117 class AmbiguousCommand(Exception): |
117 class AmbiguousCommand(Exception): |
118 """Exception raised if command shortcut matches more than one command.""" |
118 """Exception raised if command shortcut matches more than one command.""" |
|
119 |
|
120 def __init__(self, prefix, matches): |
|
121 self.prefix = prefix |
|
122 self.matches = matches |
|
123 super(AmbiguousCommand, self).__init__() |
119 |
124 |
120 __bytes__ = _tobytes |
125 __bytes__ = _tobytes |
121 |
126 |
122 |
127 |
123 class InterventionRequired(Hint, Exception): |
128 class InterventionRequired(Hint, Exception): |