Dont use list for variable name as it is a reserved word (in dock)
Use new style docstrings