On 11/23/06, Dave Anderson <[EMAIL PROTECTED]> wrote:
> Interfaces
> ==========
> iter_interface = interface(iter)  # class-based interface
> file_open_close_inter = interface(file.open, file.close) # method interface

[ strings were also treated differently ]

Are you keying off the dot in the name, or the type of the named object?

SomeClass.name is typically a method, but may be a string, or even
another class.

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

Reply via email to