]> granicus.if.org Git - python/commit
Use PyDict_Copy() and PyDict_Update() instead of using PyObject_CallMethod()
authorFred Drake <fdrake@acm.org>
Thu, 25 Oct 2001 21:38:59 +0000 (21:38 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 25 Oct 2001 21:38:59 +0000 (21:38 +0000)
commit9cd0efcee9d7ee29cd87eb0d1072351fbb986e08
treee955f0052a697be0765cdf9f3f1064ef3dea8e5c
parent61f794918f4cea16c416ef1fcc53e318cc991414
Use PyDict_Copy() and PyDict_Update() instead of using PyObject_CallMethod()
to call the corresponding methods.  This is not a performance improvement
since the times are still swamped by disk I/O, but cleans up the code just
a little.
Python/import.c