Code warnings, gettext and "Undefined name: _"
I have a program that uses gettext and has a lot of _("string")
constructs. Since I define my _
translator function once using __builtin__._
, WingIDE thinks the symbol is undefined everywhere I use it and adds a "Undefined name: _" to the Code warnings. Is there a way to tell WingIDE to stop worrying about _
in every file?
Comments