bpo-38823: Fix compiler warning in _ctypes on Windows by vstinner · Pull Request #23258 · python/cpython
Explicitly cast PyExc_Exception to PyTypeObject* to fix the warning:
modules\_ctypes\_ctypes.c(5748): warning C4133: '=':
incompatible types - from 'PyObject *' to '_typeobject *'
adorilson pushed a commit to adorilson/cpython that referenced this pull request
Mar 13, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters