Skip to content

Commit d540052

Browse files
committed
Path refactor
1 parent ea8f4be commit d540052

File tree

5 files changed

+153
-417
lines changed

5 files changed

+153
-417
lines changed

docs/source/reference-io.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,11 @@ Asynchronous path objects
631631

632632
.. autoclass:: Path
633633
:members:
634+
:inherited-members:
635+
636+
.. autoclass:: PosixPath
637+
638+
.. autoclass:: WindowsPath
634639

635640

636641
.. _async-file-objects:

src/trio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
open_ssl_over_tcp_stream as open_ssl_over_tcp_stream,
7474
serve_ssl_over_tcp as serve_ssl_over_tcp,
7575
)
76-
from ._path import Path as Path
76+
from ._path import Path as Path, PosixPath as PosixPath, WindowsPath as WindowsPath
7777
from ._signals import open_signal_receiver as open_signal_receiver
7878
from ._ssl import (
7979
NeedHandshakeError as NeedHandshakeError,

0 commit comments

Comments
 (0)