File tree 2 files changed +6
-4
lines changed
tests/stubtest_allowlists
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 ,
@@ -45,6 +44,11 @@ from posixpath import (
45
44
46
45
if sys .version_info >= (3 , 12 ):
47
46
from posixpath import isjunction as isjunction , splitroot as splitroot
47
+ def isdir (path : FileDescriptorOrPath ) -> bool : ...
48
+
49
+ else :
50
+ def isdir (s : FileDescriptorOrPath ) -> bool : ...
51
+
48
52
from typing import AnyStr , overload
49
53
from typing_extensions import LiteralString
50
54
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