Help with syntax warnings

Leif K-Brooks eurleif at ecritters.biz
Fri Sep 30 05:41:46 CEST 2005


Ivan Shevanski wrote:
> is there a way to turn off syntax warnings or just make them not
> visible?

import warnings
warnings.filterwarnings('ignore', category=SyntaxWarning)



More information about the Python-list mailing list