Пример #1
0
 def get_zero_division_error(self):
     ll_err = llimpl._get_error(ZeroDivisionError)
     return (ootype.cast_to_object(ll_err.args[0]),
             ootype.cast_to_object(ll_err.args[1]))
Пример #2
0
 def get_zero_division_error(self):
     ll_err = llimpl._get_error(ZeroDivisionError)
     return (ootype.cast_to_object(ll_err.args[0]),
             ootype.cast_to_object(ll_err.args[1]))
Пример #3
0
 def get_overflow_error(self):
     ll_err = llimpl._get_error(OverflowError)
     return (ootype.cast_to_object(ll_err.args[0]),
             ootype.cast_to_object(ll_err.args[1]))
Пример #4
0
 def get_overflow_error(self):
     ll_err = llimpl._get_error(OverflowError)
     return (ootype.cast_to_object(ll_err.args[0]),
             ootype.cast_to_object(ll_err.args[1]))