Commits

Armin Rigo committed 06b6e87

Allow again SomeInstance(classdef=None) for corner cases. Used by normalizecalls.py.

Comments (0)

Files changed (1)

pypy/annotation/model.py

     "Stands for an instance of a (user-defined) class."
 
     def __init__(self, classdef, can_be_None=False, flags={}):
-        assert classdef is not None
         self.classdef = classdef
         self.knowntype = classdef or object
         self.can_be_None = can_be_None