Using with Python < 2.7

I'm not sure how to write tests for this one, but the following changes will get things working on versions of Python lower than 2.7 (I'm using 2.6.6).

I can see that the numbered notation is used in other parts of the site.