PythonExtensionPatterns
PythonExtensionPatterns copied to clipboard
Exceptions doc: add Py_INCREF after creating new exception types
See best practice example in Python source: https://github.com/python/cpython/blob/master/Modules/_testcapimodule.c#L6733