File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
import sys
2
- from _typeshed import BytesPath , StrPath
2
+ from _typeshed import BytesPath , FileDescriptorOrPath , StrPath
3
3
from genericpath import (
4
4
commonprefix as commonprefix ,
5
5
exists as exists ,
6
6
getatime as getatime ,
7
7
getctime as getctime ,
8
8
getmtime as getmtime ,
9
9
getsize as getsize ,
10
- isdir as isdir ,
11
10
isfile as isfile ,
12
11
samefile as samefile ,
13
12
sameopenfile as sameopenfile ,
@@ -115,5 +114,10 @@ if sys.platform == "win32":
115
114
@overload
116
115
def realpath (path : AnyStr ) -> AnyStr : ...
117
116
117
+ if sys .version_info >= (3 , 12 ):
118
+ def isdir (path : FileDescriptorOrPath ) -> bool : ...
119
+ else :
120
+ def isdir (s : FileDescriptorOrPath ) -> bool : ...
121
+
118
122
else :
119
123
realpath = abspath
Original file line number Diff line number Diff line change @@ -4,5 +4,3 @@ asyncio.IocpProactor.recvfrom_into
4
4
asyncio.windows_events.IocpProactor.finish_socket_func
5
5
asyncio.windows_events.IocpProactor.recvfrom_into
6
6
msvcrt.GetErrorMode
7
- ntpath.isdir
8
- os.path.isdir
You can’t perform that action at this time.
0 commit comments