Skip to content

Commit 55816ab

Browse files
committed
fix(query_list): Fix docstrings in exceptions
1 parent fdc5ebe commit 55816ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libtmux/_internal/query_list.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ def __call__(
3333

3434

3535
class MultipleObjectsReturned(Exception):
36-
"""The requested object does not exist."""
36+
"""The query returned multiple objects when only one was expected."""
3737

3838

3939
class ObjectDoesNotExist(Exception):
40-
"""The query returned multiple objects when only one was expected."""
40+
"""The requested object does not exist."""
4141

4242

4343
def keygetter(

0 commit comments

Comments
 (0)