Commits

Ronan Lamy committed 17f036f

rm unused builtin analyzer for __import__

  • Participants
  • Parent commits 29bcc67
  • Branches annotator

Comments (0)

Files changed (1)

File rpython/annotator/builtin.py

 def test(*args):
     return s_Bool
 
-def import_func(*args):
-    return SomeObject()
-
 # collect all functions
 import __builtin__
 BUILTIN_ANALYZERS = {}
 else:
     BUILTIN_ANALYZERS[object.__init__] = object_init
 
-# import
-BUILTIN_ANALYZERS[__import__] = import_func
-
 # annotation of low-level types
 from rpython.annotator.model import SomePtr
 from rpython.rtyper.lltypesystem import lltype