summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/exceptions.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 899666f..367ba3e 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -301,6 +301,8 @@ in various ways. There is a separate error indicator for each thread.
attributes, which make the exception printing subsystem think the exception
is a :exc:`SyntaxError`.
+.. versionadded:: 3.2
+
.. cfunction:: void PyErr_SyntaxLocation(char *filename, int lineno)