Skip to content

Commit f1d02fc

Browse files
committed
Drop redundant return type hint
__init__() methods don't need a return type hint unless they take no arguments. Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent 981684b commit f1d02fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openslide/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ class OpenSlide(AbstractSlide):
189189
operations on the OpenSlide object, other than close(), will fail.
190190
"""
191191

192-
def __init__(self, filename: str | Path) -> None:
192+
def __init__(self, filename: str | Path):
193193
"""Open a whole-slide image."""
194194
AbstractSlide.__init__(self)
195195
self._filename = filename

0 commit comments

Comments
 (0)