On Thu, 23 Dec 2010 19:41:33 +0100 (CET)
eric.araujo <python-check...@python.org> wrote:
>  
>      def __index__(self):
> -        """index(self)"""
> +        """someobject[self]"""

This is misleading as to what the method actually does, as you can read
in the implementation:

>          return int(self)



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to