8000 `setuptools` & `distutils`: `ClassVar` mutables (and tuples) by Avasam · Pull Request #12403 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

setuptools & distutils: ClassVar mutables (and tuples) #12403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 23, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Make RegistryInfo.HKEYS Final
  • Loading branch information
Avasam committed Jul 22, 2024
commit 72bfc24e4b916b264c084bfc3dd8f8e6a6106119
6 changes: 3 additions & 3 deletions stubs/setuptools/setuptools/msvc.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
from _typeshed import Incomplete
from typing import ClassVar, Final
from typing import Final

PLAT_SPEC_TO_RUNTIME: Final[dict[str, str]]

Expand All @@ -20,9 +20,9 @@ class PlatformInfo:

class RegistryInfo:
if sys.platform == "win32":
HKEYS: ClassVar[tuple[int, int, int, int]]
HKEYS: Final[tuple[int, int, int, int]]
else:
HKEYS: ClassVar[tuple[None, None, None, None]]
HKEYS: Final[tuple[None, None, None, None]]

pi: Incomplete
def __init__(self, platform_info) -> None: ...
Expand Down
Loading
0