commit | 8ae468965700fd9900efc28bff8fa2015dae2bef | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sun Oct 12 19:09:37 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sun Oct 12 19:09:37 2003 +0000 |
tree | 1f3545b2d2a3ad8b7d5692a7f84daa88d850b29c | |
parent | cb2da43db8943e9e7b1d900bce1d6416339d6f64 [diff] |
Simplify and speedup uses of Py_BuildValue(): * Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a)