Skip to content

Commit 72c11a8

Browse files
authored
fix(typing): Path-likes use truediv
1 parent 2678a5e commit 72c11a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

importlib_metadata/_meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class SimplePath(Protocol):
3838
def joinpath(self) -> 'SimplePath':
3939
... # pragma: no cover
4040

41-
def __div__(self) -> 'SimplePath':
41+
def __truediv__(self) -> 'SimplePath':
4242
... # pragma: no cover
4343

4444
def parent(self) -> 'SimplePath':

0 commit comments

Comments
 (0)