I'd use a """ docstring instead of the ' with \n's:

```
closure = """from sim import Block, Contract, Simulation, Tx, log, mktx, stop, array
class HLL(Contract):
    def run(self, tx, contract, block):
""""
```