From bc954099613a31ce4d077e24caacd9c34a16768c Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Mon, 15 Dec 2003 19:29:09 +0000 Subject: [PATCH] be sure the global bad names refer to global functions git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5567 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Lib/python/pythonkw.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/python/pythonkw.swg b/Lib/python/pythonkw.swg index 14480bfda..00f244a47 100644 --- a/Lib/python/pythonkw.swg +++ b/Lib/python/pythonkw.swg @@ -36,7 +36,7 @@ PYTHONKW(yield); #undef PYTHONKW -#define PYTHONBN(x) %namewarn("315:" #x " is a bad name in python") #x +#define PYTHONBN(x) %namewarn("315:" #x " is a bad global name in python") "::"#x /* recurrent built-in functions */ PYTHONBN(close);