| 1 |
# This is a public namespace, so we don't want to expose any non-underscored |
| 2 |
# attributes that aren't actually part of our public API. But it's very |
| 3 |
# annoying to carefully always use underscored names for module-level |
| 4 |
# temporaries, imports, etc. when implementing the module. So we put the |
| 5 |
# implementation in an underscored module, and then re-export the public parts |
| 6 |
# here. |
| 7 |
|
| 8 |
# Uses `from x import y as y` for compatibility with `pyright --verifytypes` (#2625) |
| 9 |
from ._abc import ( |
| 10 |
AsyncResource as AsyncResource, |
| 11 |
Channel as Channel, |
| 12 |
Clock as Clock, |
| 13 |
HalfCloseableStream as HalfCloseableStream, |
| 14 |
HostnameResolver as HostnameResolver, |
| 15 |
Instrument as Instrument, |
| 16 |
Listener as Listener, |
| 17 |
ReceiveChannel as ReceiveChannel, |
| 18 |
ReceiveStream as ReceiveStream, |
| 19 |
SendChannel as SendChannel, |
| 20 |
SendStream as SendStream, |
| 21 |
SocketFactory as SocketFactory, |
| 22 |
Stream as Stream, |
| 23 |
) |