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__.pyi
that could use it.os/__init__.pyi
currently defines an_FdOrAnyPath
alias. We don't need to add the alias to_typeshed
in 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.
Metadata
Metadata
Assignees
Labels
No labels