diff --git a/Lib/python/pythonkw.swg b/Lib/python/pythonkw.swg index 7d8dbc2ac..60a84570e 100644 --- a/Lib/python/pythonkw.swg +++ b/Lib/python/pythonkw.swg @@ -106,6 +106,10 @@ PYTHONBN(True); PYTHONBN(False); PYTHONBN(None); +/* + 'self' is also a bad Name +*/ +PYTHONBN(self); #undef PYTHONBN #undef PYTHONKW