Lichen

Change of lib/__builtins__/dict.py

356:8327049267bf
lib/__builtins__/dict.py
     1.1 --- a/lib/__builtins__/dict.py	Fri Dec 09 16:26:50 2016 +0100
     1.2 +++ b/lib/__builtins__/dict.py	Fri Dec 09 17:27:30 2016 +0100
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  from __builtins__.iterator import itemiterator
     1.6  from __builtins__.sequence import _max
     1.7 -import native
     1.8 +from native import isinstance as _isinstance
     1.9  
    1.10  class dict:
    1.11  
    1.12 @@ -86,7 +86,7 @@
    1.13  
    1.14          index = key.__hash__()
    1.15  
    1.16 -        if not native.isinstance(index, int):
    1.17 +        if not _isinstance(index, int):
    1.18              raise TypeError
    1.19  
    1.20          return index % len(self.buckets)