# HG changeset patch # User Olivier Delalleau # Date 1286553605 14400 # Node ID 565e4ef0bfbd411ca25be1cb8ac3a4777d95e064 # Parent 9f1f51a5939f5140dd3b115b1a7909dda25f59f5 Fixed comment in example: lists have no find() method diff -r 9f1f51a5939f -r 565e4ef0bfbd doc/v2_planning/API_coding_style.txt --- 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