python-trio / trio-typing

Type hints for Trio and related projects
Other
27 stars 14 forks source link

getsockname() and getpeername() should return Any #17

Closed oremanj closed 4 years ago

oremanj commented 4 years ago

The current union-return is unergonomic to work with. typeshed has the stdlib socket analogs returning Any so we should probably follow their lead.