python's OOP question
__peter__ at web.de
Wed Oct 18 14:14:44 CEST 2006
Neil Cerutti wrote:
> On 2006-10-18, neoedmund <neoedmund at gmail.com> wrote:
>> ivestgating the web, i found something similiar with my approch:
>> "Duck-typing avoids tests using type() or isinstance(). Instead, it
>> typically employs hasattr() tests"
> It's pity it didn't get called quack typing.
That's because the quacks prescribe static typing.
More information about the Python-list