Mark many attributes as read-only properties (#7591)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-04-05 08:37:24 +02:00
1 parent b8f2eb3930
commit 85aec034ae
28 files changed
+189 -93

No files matched your search

+2 -1
View File
@@ -152,7 +152,8 @@ class PrefixWrapper:
def __init__(
self, name, wrapped, prefix=..., orig_prefix=..., lazy: bool = ..., doc: Any | None = ..., ident: Any | None = ...
) -> None: ...
wrapped: Any
@property
def wrapped(self): ...
@property
def ident(self): ...
@property