mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #26900: Excluded underscored names and other private API from limited API.
This commit is contained in:
parent
c16595e567
commit
9fab79bcb5
21 changed files with 74 additions and 15 deletions
|
|
@ -31,6 +31,7 @@ PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);
|
|||
PyAPI_DATA(PyTypeObject) PyTraceBack_Type;
|
||||
#define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type)
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
/* Write the Python traceback into the file 'fd'. For example:
|
||||
|
||||
Traceback (most recent call first):
|
||||
|
|
@ -79,6 +80,7 @@ PyAPI_FUNC(const char*) _Py_DumpTracebackThreads(
|
|||
int fd,
|
||||
PyInterpreterState *interp,
|
||||
PyThreadState *current_tstate);
|
||||
#endif /* !Py_LIMITED_API */
|
||||
|
||||
#ifndef Py_LIMITED_API
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue