Bug or feature?

Gerson Kurz gerson.kurz at t-online.de
Sat Sep 1 20:17:00 CEST 2001


class a:
    def b(self,x):
        print "call #1"

    def b(self,x):
        print "call #2"

v = a()

This code raises no warning, and can be executed ('call #2' will be
printed), on Python 2.1.1 (ActivePython Build 212). Bug or feature?

More information about the Python-list mailing list