Mercurial > pylearn
changeset 1318:565e4ef0bfbd
Fixed comment in example: lists have no find() method
author | Olivier Delalleau <delallea@iro> |
---|---|
date | Fri, 08 Oct 2010 12:00:05 -0400 |
parents | 9f1f51a5939f |
children | 7185d194bb7e |
files | doc/v2_planning/API_coding_style.txt |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/v2_planning/API_coding_style.txt Thu Oct 07 16:49:04 2010 -0400 +++ b/doc/v2_planning/API_coding_style.txt Fri Oct 08 12:00:05 2010 -0400 @@ -541,7 +541,7 @@ def add_field(self, field): # TODO Write doc. # Test if something belongs to a container with `in`, not - # container-specific methods like `find`. + # container-specific methods like `index`. if field in self.print_fields: # TODO Print a warning and do nothing. pass