-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Opening an issue so we don't forget.
Original comment from @AlexWaygood :
We could actually consider adding this alias to
_typeshed; there's a bunch of functions inos/__init__.pyithat could use it.os/__init__.pyicurrently defines an_FdOrAnyPathalias. We don't need to add the alias to_typeshedin this PR, though.
There's a handful of _OpenFile aliases also defined in multiple stubs
There's also a lot of int | StrOrBytesPath, StrOrBytesPath | int and StrOrBytesPath | FileDescriptor which could be replaced by the alias.
AlexWaygood
Metadata
Metadata
Assignees
Labels
No labels