googlefonts / pyfontaine

Python tool to check font files for language/character set support
https://github.com/googlefonts/pyfontaine
GNU General Public License v3.0
104 stars 20 forks source link

use 'as' to label exception #92

Closed scw closed 7 years ago

scw commented 7 years ago

For Python 3.x, exceptions should be assigned with the 'as' keyword. See PEP3110 for details, this syntax is supported in Python 2.6+.