Skip to content

Commit 6917204

Browse files
spacemanspiff2007-
authored and
-
committed
Update __init__.py
1 parent 29921d9 commit 6917204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sphinx_autodoc_typehints/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
def _get_types_type(obj: Any) -> str | None:
3939
try:
4040
return _TYPES_DICT.get(obj)
41-
except:
41+
except Exception:
4242
# e.g. exception: unhashable type
4343
return None
4444

0 commit comments

Comments
 (0)