aboutsummaryrefslogtreecommitdiff
path: root/Lib/python/pythonkw.swg
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/python/pythonkw.swg')
-rw-r--r--Lib/python/pythonkw.swg4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/python/pythonkw.swg b/Lib/python/pythonkw.swg
index 0960af5fb..f57d34ce4 100644
--- a/Lib/python/pythonkw.swg
+++ b/Lib/python/pythonkw.swg
@@ -2,8 +2,8 @@
Warnings for Python keywords, built-in names and bad names.
*/
-#define PYTHONKW(x) %namewarn("314:" `x` " is a python keyword, symbol will be renamed as '_" `x`"'", rename="_%s") `x`
-#define PYTHONBN(x) %namewarn("321:" `x` " conflicts with a built-in name in python") "::"`x`
+#define PYTHONKW(x) %keywordwarn(`x` " is a python keyword, symbol will be renamed as '_" `x`"'", rename="_%s") `x`
+#define PYTHONBN(x) %builtinwarn(`x` " conflicts with a built-in name in python") "::"`x`
/*