aboutsummaryrefslogtreecommitdiff
path: root/Lib/swig.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r--Lib/swig.swg6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg
index 77ecd0fe1..23e0d8edc 100644
--- a/Lib/swig.swg
+++ b/Lib/swig.swg
@@ -88,10 +88,10 @@
#define %clearexception %feature("except","")
-/* the %throws directive */
+/* the %catchs directive */
-#define %throws(tlist...) %feature("throws","("`tlist`")")
-#define %clearthrows %feature("throws","")
+#define %catchs(tlist...) %feature("catchs","("`tlist`")")
+#define %clearcatchs %feature("catchs","")
/* the %exceptionclass directive */