File tree 2 files changed +6
-3
lines changed
tests/stubtest_allowlists 2 files changed +6
-3
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 ,
@@ -115,5 +115,10 @@ if sys.platform == "win32":
115
115
@overload
116
116
def realpath (path : AnyStr ) -> AnyStr : ...
117
117
118
+ if sys ._version_info >= (3 , 12 ):
119
+ def isdir (path : FileDescriptorOrPath ) -> bool : ...
120
+ else :
121
+ def isdir (s : FileDescriptorOrPath ) -> bool : ...
122
+
118
123
else :
119
124
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