Skip to content

Commit

Permalink
Fix 3.5 error
Browse files Browse the repository at this point in the history
  • Loading branch information
Erotemic committed Jan 6, 2022
1 parent 9a8ae56 commit 2dce3f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ubelt/util_path.py
Expand Up @@ -583,6 +583,10 @@ def delete(self):
util_io.delete(self)
return self

def __fspath__(self):
# Only for 3.5. Remove after 3.5 support is removed.
return str(self)


if PY_LE_35: # nocover
def _fspath(path):
Expand Down

0 comments on commit 2dce3f5

Please sign in to comment.