summaryrefslogtreecommitdiff
path: root/sphinx/util/console.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/util/console.py')
-rw-r--r--sphinx/util/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/console.py b/sphinx/util/console.py
index 0c8008371..0fb6cc672 100644
--- a/sphinx/util/console.py
+++ b/sphinx/util/console.py
@@ -25,7 +25,7 @@ codes: Dict[str, str] = {}
def terminal_safe(s: str) -> str:
- """safely encode a string for printing to the terminal."""
+ """Safely encode a string for printing to the terminal."""
return s.encode('ascii', 'backslashreplace').decode('ascii')