is python Object oriented??

alex23 wuwei23 at gmail.com
Fri Jan 30 01:25:39 EST 2009


On Jan 30, 4:15 pm, Chris Rebert <c... at rebertia.com> wrote:
> - Python does not support interfaces in the Java sense (although there
> are a few third-party libraries that add such support); neither does
> Smalltalk. Instead, both Smalltalk and Python use duck-typing to
> similar effect. Seehttp://en.wikipedia.org/wiki/Duck_typing

I haven't yet had reason to use them, but do Abstract Base Classes
(introduced in 2.6/3.0) go some way to provide more defined interface
support for Python? My assumption was that was what they'd generally
be used for...



More information about the Python-list mailing list