Misc stub fixes (#181)

This commit is contained in:
Jukka Lehtosalo
2016-05-05 00:54:57 +01:00
committed by Guido van Rossum
parent c21d8a41d5
commit 292447bd62
10 changed files with 52 additions and 33 deletions

View File

@@ -4,7 +4,15 @@
from typing import Any
import UserDict
from _weakref import getweakrefcount as getweakrefcount, getweakrefs as getweakrefs, ref as ref, proxy as proxy, CallableProxyType as CallableProxyType, ProxyType as ProxyType, ReferenceType as ReferenceType
from _weakref import (
getweakrefcount as getweakrefcount,
getweakrefs as getweakrefs,
ref as ref,
proxy as proxy,
CallableProxyType as CallableProxyType,
ProxyType as ProxyType,
ReferenceType as ReferenceType
)
from _weakrefset import WeakSet as WeakSet
from exceptions import ReferenceError as ReferenceError