2021-06-27 | Paul Boddie | raw files shortlog changelog graph | Fixed first parameter of is_int invocation. | |
generator.py (file) |
1.1 --- a/generator.py Sun Jun 27 22:12:23 2021 +0200 1.2 +++ b/generator.py Sun Jun 27 22:39:01 2021 +0200 1.3 @@ -1206,7 +1206,7 @@ 1.4 print >>f_code, """\ 1.5 __attr %s(__attr __self, __attr number_or_string) 1.6 { 1.7 - if (!__BOOL(__fn_native_int_is_int(__self, number_or_string))) 1.8 + if (!__BOOL(__fn_native_int_is_int(__NULL, number_or_string))) 1.9 __raise_value_error(number_or_string); 1.10 1.11 return number_or_string;