mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Support for long integers
This commit is contained in:
parent
1492c27350
commit
139e57b2a4
1 changed files with 4 additions and 0 deletions
|
@ -410,6 +410,10 @@ getdoublearg(args, px)
|
|||
*px = getintvalue(args);
|
||||
return 1;
|
||||
}
|
||||
if (is_longobject(args)) {
|
||||
*px = dgetlongvalue(args);
|
||||
return 1;
|
||||
}
|
||||
return err_badarg();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue