that pyclbr doesn't need to special-case modules that do "from types
import *".
cm('urllib', ignore=('getproxies_registry',
'open_https',
'getproxies_internetconfig',)) # not on all platforms
+ cm('pickle')
cm('aifc', ignore=('openfp',)) # set with = in module
cm('Cookie')
cm('sre_parse', ignore=('dump',)) # from sre_constants import *
# Execution in restricted environment
pass
-def g():
+def _g():
yield 1
-GeneratorType = type(g())
-del g
+GeneratorType = type(_g())
class _C:
def _m(self): pass
DictProxyType = type(TypeType.__dict__)
NotImplementedType = type(NotImplemented)
-del sys, _f, _C, _x # Not for export
+del sys, _f, _g, _C, _x # Not for export