summaryrefslogtreecommitdiff
path: root/Include/traceback.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-09-11 11:03:14 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-09-11 11:03:14 +0300
commit9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 (patch)
treeb24f07e6f0ccb42ae02628248d1b521d6700386f /Include/traceback.h
parentc16595e567d51a1773be30c34622620b52be7acf (diff)
downloadcpython-git-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.gz
Issue #26900: Excluded underscored names and other private API from limited API.
Diffstat (limited to 'Include/traceback.h')
-rw-r--r--Include/traceback.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/traceback.h b/Include/traceback.h
index dbc769bb82..b5874100f4 100644
--- a/Include/traceback.h
+++ b/Include/traceback.h
@@ -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