mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
Use _typeshed.Self in docutils.VersionInfo and os.sched_param (#7117)
This commit is contained in:
1 parent
0ccbc29919
commit
26e8959279
2 files changed
+10
-3
No files matched your search
@@ -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