summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author180909 <734461790@qq.com>2021-10-11 23:08:22 +0800
committerDavid Lord <davidism@gmail.com>2021-12-26 16:42:30 -0700
commit9bf84f86bb878d8e337acc562ded3294f2e9a6ea (patch)
tree8fa38d93f87d03b9ee2b80b62c3c10e5a1fd8c5b /src
parent83beb9f24a1af210ca255ca34d7d1bdd71111018 (diff)
downloadclick-9bf84f86bb878d8e337acc562ded3294f2e9a6ea.tar.gz
fix typos
Diffstat (limited to 'src')
-rw-r--r--src/click/core.py2
-rw-r--r--src/click/termui.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/click/core.py b/src/click/core.py
index c969e2b..09d9c21 100644
--- a/src/click/core.py
+++ b/src/click/core.py
@@ -2769,7 +2769,7 @@ class Option(Parameter):
) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]:
# If we're a non boolean flag our default is more complex because
# we need to look at all flags in the same group to figure out
- # if we're the the default one in which case we return the flag
+ # if we're the default one in which case we return the flag
# value as default.
if self.is_flag and not self.is_bool_flag:
for param in ctx.command.params:
diff --git a/src/click/termui.py b/src/click/termui.py
index e21be0a..a7a8d03 100644
--- a/src/click/termui.py
+++ b/src/click/termui.py
@@ -93,7 +93,7 @@ def prompt(
"""Prompts a user for input. This is a convenience function that can
be used to prompt a user for input later.
- If the user aborts the input by sending a interrupt signal, this
+ If the user aborts the input by sending an interrupt signal, this
function will catch it and raise a :exc:`Abort` exception.
:param text: the text to show for the prompt.