Why _kernel32.GetLastError instead of ctypes.GetLastError in win32.py?

Kaz Nishimura kazssym at vx68k.org
Tue Feb 4 19:35:59 CST 2014

While I was modifying win32.py, I noticed _kernel32.GetLastError is used
despite that there is ctypes.GetLastError.  Could anyone explain why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20140205/dfd33c91/attachment.html>

More information about the Mercurial-devel mailing list