diff options
Diffstat (limited to 'docs/utils.py')
-rw-r--r-- | docs/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/utils.py b/docs/utils.py index 18a457b7..796eca3d 100644 --- a/docs/utils.py +++ b/docs/utils.py @@ -74,11 +74,11 @@ def linkcode_resolve(repo_link: str, domain: str, info: dict[str, str]) -> str | for name in symbol_name.split("."): try: symbol.append(getattr(symbol[-1], name)) - except AttributeError as e: + except AttributeError: # This could be caused by trying to link a class attribute if is_attribute(symbol[-1], name): break - raise e + raise symbol_name = name |