We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 518f406 + 74ebe6a commit 26a9bb4Copy full SHA for 26a9bb4
NEWS.rst
@@ -1,3 +1,12 @@
1
+v16.12.1
2
+========
3
+
4
+Bugfixes
5
+--------
6
7
+- Restore functionality in .isdir and .isfile.
8
9
10
v16.12.0
11
========
12
path/__init__.py
@@ -1096,6 +1096,7 @@ def isdir(self): # pragma: no cover
1096
DeprecationWarning,
1097
stacklevel=2,
1098
)
1099
+ return self.is_dir()
1100
1101
def is_dir(self):
1102
""".. seealso:: :func:`os.path.isdir`"""
@@ -1107,6 +1108,7 @@ def isfile(self): # pragma: no cover
1107
1108
1109
1110
1111
+ return self.is_file()
1112
1113
def is_file(self):
1114
""".. seealso:: :func:`os.path.isfile`"""
0 commit comments