Rename local var so it doesn't shadow the "list" built-in.
Fix docstrings quoting.