Does Polymorphism mean python can create object?

Roy Smith roy at panix.com
Tue Aug 21 07:51:50 EDT 2012


In article <mailman.3595.1345539631.4697.python-list at python.org>,
 Chris Angelico <rosuav at gmail.com> wrote:

> On Tue, Aug 21, 2012 at 10:20 AM, alex23 <wuwei23 at gmail.com> wrote:
> > On Tue, Aug 21, 2012 at 12:01 AM, Levi Nie wrote:
> >> Does Polymorphism mean python can create object?
> >
> > No. This isn't D&D. Polymorphism has a distinct meaning in computer 
> > science, one which you would've found in less time searching Wikipedia than 
> > asking this question here.
> 
> That said, though, I wouldn't be against someone casting Baleful
> Polymorph on the odd troll...

Won't work.  Trolls always make their random.saving_throw().



More information about the Python-list mailing list