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
This commit is contained in:
Marcelo Matus 2003-12-15 19:29:09 +00:00
commit bc95409961

View file

@ -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);