Skip to content

Commit 258cabe

Browse files
authored
Update uuid.pyi for Python3.12 (#10289)
1 parent f0e9ec1 commit 258cabe

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

stdlib/uuid.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,6 @@ RESERVED_NCS: str
9696
RFC_4122: str
9797
RESERVED_MICROSOFT: str
9898
RESERVED_FUTURE: str
99+
100+
if sys.version_info >= (3, 12):
101+
def main() -> None: ...

tests/stubtest_allowlists/py312.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ unittest.runner.TextTestResult.__init__
190190
unittest.runner.TextTestRunner.__init__
191191
urllib.request.AbstractHTTPHandler.__init__
192192
urllib.request.HTTPSHandler.__init__
193-
uuid.main
194193
zipfile.Path.glob
195194
zipfile.Path.is_symlink
196195
zipfile.Path.match

0 commit comments

Comments
 (0)