Removed misplaced function from pretty.py