Mercurial > pylearn
diff doc/v2_planning/API_coding_style.txt @ 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 | b60a9b6eee68 |
children | 075a0f1c1ffc |
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