diff options
-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 604bd98..2f3fa4b 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(); } |