Oops! Restored the pickle test to test_pyclbr, but changed types.py so

that pyclbr doesn't need to special-case modules that do "from types
import *".
This commit is contained in:
Tim Peters 2004-07-18 00:08:11 +00:00
parent fa7809df02
commit 264c659197
2 changed files with 4 additions and 4 deletions

View file

@ -48,10 +48,9 @@ except RuntimeError:
# 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
@ -87,4 +86,4 @@ EllipsisType = type(Ellipsis)
DictProxyType = type(TypeType.__dict__)
NotImplementedType = type(NotImplemented)
del sys, _f, _C, _x # Not for export
del sys, _f, _g, _C, _x # Not for export