diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-24 20:52:28 +0100 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-28 18:31:59 +0100 |
commit | b7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41 (patch) | |
tree | ddf38afd58c7f1dcd538667dd952122448289bb6 /gitlab/exceptions.py | |
parent | bd366ab9e4b552fb29f7a41564cc180a659bba2f (diff) | |
download | gitlab-b7dde0d7aac8dbaa4f47f9bfb03fdcf1f0b01c41.tar.gz |
docs: only use type annotations for documentation
Diffstat (limited to 'gitlab/exceptions.py')
-rw-r--r-- | gitlab/exceptions.py | 3 |
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: |