Mercurial > cpython-lru_cache-weakref
diff Modules/grpmodule.c @ 50866:8325eb041921 3.0
Merged revisions 68675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r68675 | mark.dickinson | 2009-01-17 21:57:11 +0000 (Sat, 17 Jan 2009) | 2 lines
Replace PyNumber_Int with PyNumber_Long.
........
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Sun, 18 Jan 2009 11:01:50 +0000 |
| parents | 85b67fb5672b |
| children | 2356e985ece8 28d64192ab5a |
line wrap: on
line diff
--- a/Modules/grpmodule.c Sun Jan 18 03:31:52 2009 +0000 +++ b/Modules/grpmodule.c Sun Jan 18 11:01:50 2009 +0000 @@ -90,7 +90,7 @@ unsigned int gid; struct group *p; - py_int_id = PyNumber_Int(pyo_id); + py_int_id = PyNumber_Long(pyo_id); if (!py_int_id) return NULL; gid = PyLong_AS_LONG(py_int_id);
