Refactor.

This is Python default behaviour, so you don't need code for that.