mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use _typeshed.Self in docutils.VersionInfo and os.sched_param (#7117)
This commit is contained in:
@@ -953,7 +953,7 @@ else:
|
||||
if sys.platform != "win32":
|
||||
@final
|
||||
class sched_param(structseq[int], tuple[int]):
|
||||
def __new__(cls, sched_priority: int) -> sched_param: ...
|
||||
def __new__(cls: type[Self], sched_priority: int) -> Self: ...
|
||||
@property
|
||||
def sched_priority(self) -> int: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user