summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-24 20:52:28 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-28 18:31:59 +0100
commitb7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41 (patch)
treeddf38afd58c7f1dcd538667dd952122448289bb6 /gitlab/exceptions.py
parentbd366ab9e4b552fb29f7a41564cc180a659bba2f (diff)
downloadgitlab-b7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41.tar.gz
docs: only use type annotations for documentation
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r--gitlab/exceptions.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gitlab/exceptions.py b/gitlab/exceptions.py
index a756030..6b86471 100644
--- a/gitlab/exceptions.py
+++ b/gitlab/exceptions.py
@@ -297,8 +297,7 @@ def on_http_error(error: Type[Exception]) -> Callable[[__F], __F]:
raise specialized exceptions instead.
Args:
- error(Exception): The exception type to raise -- must inherit from
- GitlabError
+ The exception type to raise -- must inherit from GitlabError
"""
def wrap(f: __F) -> __F: