Fix dunder-method positional-only parameter discrepancies in third-party stubs (#14529)

This commit is contained in:
Brian Schubert
2025-08-08 12:12:44 +02:00
committed by GitHub
parent 2e3203fdff
commit 11907e2825
11 changed files with 113 additions and 99 deletions
@@ -4,4 +4,4 @@ class AttributeGetter:
def __init__(self, attributes: dict[str, Any] | None = None) -> None: ...
# This doesn't exist at runtime, but subclasses should define their own fields populated by attributes in __init__
# Until that's done, keep __getattribute__ to fill in the gaps
def __getattribute__(self, name: str) -> Any: ...
def __getattribute__(self, name: str, /) -> Any: ...