diff options
| author | Guido van Rossum <guido@python.org> | 1991-07-27 21:39:31 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1991-07-27 21:39:31 +0000 |
| commit | 139e57b2a46cada3b7911bd59816b97bb4326552 (patch) | |
| tree | 7a8d9054b4233c24213c317ba1f24cea261b7a69 /Python/modsupport.c | |
| parent | 1492c27350aacebff19fa76c72c5fc529d84d53a (diff) | |
| download | cpython-git-139e57b2a46cada3b7911bd59816b97bb4326552.tar.gz | |
Support for long integers
Diffstat (limited to 'Python/modsupport.c')
| -rw-r--r-- | Python/modsupport.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 604bd98c75..2f3fa4b2cc 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -410,6 +410,10 @@ getdoublearg(args, px) *px = getintvalue(args); return 1; } + if (is_longobject(args)) { + *px = dgetlongvalue(args); + return 1; + } return err_badarg(); } |
