mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-30 11:52:49 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
@@ -28,6 +28,7 @@ def tostring(
|
||||
class _ElementBase: ...
|
||||
|
||||
class RestrictedElement(_ElementBase):
|
||||
__slots__ = ()
|
||||
blacklist: Incomplete
|
||||
def __iter__(self): ...
|
||||
def iterchildren(self, tag=None, reversed: bool = False): ...
|
||||
|
||||
Reference in New Issue
Block a user