Python: remove a redundant macro
Python: fix parsing of variables assigned to triple quoted strings

Fixes #262.