Fix remove_whitespace_nodes on Python3.3