Improve Python 2 stub for abc; _weakrefset stub.

This commit is contained in:
Matthias Kramm
2015-12-22 15:37:03 -08:00
parent 2bb0d98b6d
commit 4a1674a148
2 changed files with 42 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
from typing import Iterator, Any
class WeakSet:
def __iter__(self) -> Iterator[Any]: ...
def add(self, *args, **kwargs) -> Any: ...