Skip to content

Commit 283e74c

Browse files
committed
fix reference target not found: emptyline
1 parent be40449 commit 283e74c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/cmd.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ When the user enters an empty line in response to the prompt, ``Cmd`` does
9999
**not** ignore the input by default. Instead, it repeats the last non-empty
100100
command entered.
101101

102-
This behavior is implemented by :meth:`emptyline`. Subclasses that do not
102+
This behavior is implemented by :meth:`Cmd.emptyline`. Subclasses that do not
103103
want empty input to repeat the previous command should override
104-
:meth:`emptyline` to do nothing::
104+
:meth:`Cmd.emptyline` to do nothing::
105105

106106
def emptyline(self):
107107
pass

0 commit comments

Comments
 (0)