Skip to content

Commit

Permalink
Path refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
etianen committed Feb 17, 2024
1 parent ea8f4be commit d540052
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 417 deletions.
5 changes: 5 additions & 0 deletions docs/source/reference-io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,11 @@ Asynchronous path objects

.. autoclass:: Path
:members:
:inherited-members:

.. autoclass:: PosixPath

.. autoclass:: WindowsPath


.. _async-file-objects:
Expand Down
2 changes: 1 addition & 1 deletion src/trio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
open_ssl_over_tcp_stream as open_ssl_over_tcp_stream,
serve_ssl_over_tcp as serve_ssl_over_tcp,
)
from ._path import Path as Path
from ._path import Path as Path, PosixPath as PosixPath, WindowsPath as WindowsPath
from ._signals import open_signal_receiver as open_signal_receiver
from ._ssl import (
NeedHandshakeError as NeedHandshakeError,
Expand Down
Loading

0 comments on commit d540052

Please sign in to comment.