_core.py: fix syntax error

Fix syntax error with an additional paren
Merge pull request #90 from battlemidget/patch-1

_core.py: fix syntax error