Skip to content

Commit bdc6023

Browse files
committed
Fix error in how exception is documented so docs build without warnings
1 parent 8b5e5dd commit bdc6023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd2/cmd2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,7 @@ def _redirect_output(self, statement: Statement) -> utils.RedirectionSavedState:
27522752
27532753
:param statement: a parsed statement from the user
27542754
:return: A bool telling if an error occurred and a utils.RedirectionSavedState object
2755-
:raises: RedirectionError if an error occurs trying to pipe or redirect
2755+
:raises RedirectionError: if an error occurs trying to pipe or redirect
27562756
"""
27572757
import io
27582758
import subprocess

0 commit comments

Comments
 (0)