Syntax error in the delete Python example