Lichen

Change of lib/__builtins__/types.py

354:4cb3b47bd18f
lib/__builtins__/types.py
     1.1 --- a/lib/__builtins__/types.py	Fri Dec 09 00:09:01 2016 +0100
     1.2 +++ b/lib/__builtins__/types.py	Fri Dec 09 16:22:37 2016 +0100
     1.3 @@ -25,14 +25,14 @@
     1.4  
     1.5      "Check the given int 'i'."
     1.6  
     1.7 -    if not native._isinstance(i, int):
     1.8 +    if not native.isinstance(i, int):
     1.9          raise ValueError(i)
    1.10  
    1.11  def check_string(s):
    1.12  
    1.13      "Check the given string 's'."
    1.14  
    1.15 -    if not native._isinstance(s, string):
    1.16 +    if not native.isinstance(s, string):
    1.17          raise ValueError(s)
    1.18  
    1.19  # vim: tabstop=4 expandtab shiftwidth=4