Fix bad coding style and common gotchas on mutable default arguments
Make indention consist with vim's "noexpandtab" setting