diff options
author | 2024-02-19 21:27:16 +0000 | |
---|---|---|
committer | 2024-03-04 12:35:02 +0000 | |
commit | 9c8fbd74b1d922f241c926cc26d609d0d13ae1c5 (patch) | |
tree | 0c2551275318d3ee0d64e4874121d54425ad4e4b /docs/utils.py | |
parent | ruff lint fix: Add explicit namespaces for packages (diff) |
ruff lint fix: Run remaining auto-fixable rules
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 |