mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-106320: Remove private _PyErr C API functions (#106356)
Remove private _PyErr C API functions: move them to the internal C API (pycore_pyerrors.h).
This commit is contained in:
parent
18fedd04a7
commit
c5afc97fc2
9 changed files with 63 additions and 46 deletions
|
@ -21,11 +21,17 @@
|
|||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#ifndef Py_BUILD_CORE_BUILTIN
|
||||
# define Py_BUILD_CORE_MODULE 1
|
||||
#endif
|
||||
|
||||
#include "cursor.h"
|
||||
#include "microprotocols.h"
|
||||
#include "module.h"
|
||||
#include "util.h"
|
||||
|
||||
#include "pycore_pyerrors.h" // _PyErr_FormatFromCause()
|
||||
|
||||
typedef enum {
|
||||
TYPE_LONG,
|
||||
TYPE_FLOAT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue