summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-24 01:36:48 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-24 01:36:48 +0100
commit81a392ca6e9b44444c0f1287139abe788d50119d (patch)
tree97e0f03be6f8819cb9b8a5dd0d46432ff6dfc5a4 /gitlab/exceptions.py
parent7ba5995ed472997e6bf98e8ae58107af307a5615 (diff)
downloadgitlab-chore/sphinx-annotations.tar.gz
chore: deduplicate type annotations in docschore/sphinx-annotations
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: