removed python_modular compile warning
Merge pull request #963 from karlnapf/master

fix a warning