Skip to content

Commit

Permalink
Merge tag 'v16.12.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 4, 2024
2 parents 518f406 + 74ebe6a commit 26a9bb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v16.12.1
========

Bugfixes
--------

- Restore functionality in .isdir and .isfile.


v16.12.0
========

Expand Down
2 changes: 2 additions & 0 deletions path/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,7 @@ def isdir(self): # pragma: no cover
DeprecationWarning,
stacklevel=2,
)
return self.is_dir()

def is_dir(self):
""".. seealso:: :func:`os.path.isdir`"""
Expand All @@ -1107,6 +1108,7 @@ def isfile(self): # pragma: no cover
DeprecationWarning,
stacklevel=2,
)
return self.is_file()

def is_file(self):
""".. seealso:: :func:`os.path.isfile`"""
Expand Down

0 comments on commit 26a9bb4

Please sign in to comment.