Skip to content

Commit 1361989

Browse files
committed
Update __all__ for win32
1 parent 14b67a9 commit 1361989

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

stubs/aiofiles/aiofiles/os.pyi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ from aiofiles.ospath import wrap as wrap
1111
__all__ = [
1212
"path",
1313
"stat",
14-
"statvfs",
1514
"rename",
1615
"renames",
1716
"replace",
@@ -27,10 +26,12 @@ __all__ = [
2726
"listdir",
2827
"scandir",
2928
"access",
30-
"sendfile",
3129
"wrap",
3230
]
3331

32+
if sys.platform != "win32":
33+
__all__ += ["statvfs", "sendfile"]
34+
3435
path = ospath
3536

3637
async def stat(

0 commit comments

Comments
 (0)