Skip to content

Commit ab1fffa

Browse files
committed
Improve pydoc for BadSessionName
1 parent 00654dc commit ab1fffa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

doc/api.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ Exceptions
7373

7474
.. autoexception:: libtmux.exc.TmuxSessionExists
7575

76+
.. autoexception:: libtmux.exc.BadSessionName
77+
7678
.. autoexception:: libtmux.exc.UnknownOption
7779

7880
Test tools

libtmux/exc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TmuxSessionExists(LibTmuxException):
2222

2323
class BadSessionName(LibTmuxException):
2424

25-
"""Session name is not allowed."""
25+
"""Disallowed session name for tmux (empty, contains periods or colons)."""
2626

2727
pass
2828

0 commit comments

Comments
 (0)