Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions stdlib/uuid.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import sys
from typing import Any, NoReturn

# Because UUID has properties called int and bytes we need to rename these temporarily.
_Int = int
Expand Down Expand Up @@ -77,6 +78,7 @@ class UUID:
def __le__(self, other: UUID) -> bool: ...
def __gt__(self, other: UUID) -> bool: ...
def __ge__(self, other: UUID) -> bool: ...
def __setattr__(self, name: str, value: Any) -> NoReturn: ...

def getnode() -> int: ...
def uuid1(node: _Int | None = ..., clock_seq: _Int | None = ...) -> UUID: ...
Expand Down