Removing objects of a superclass?

Gerrit Holl gerrit.holl at pobox.com
Tue Feb 1 10:13:36 EST 2000


Hello,

is it possible to _remove_ objects of a superclass?
I'm interested in creating a sort of UserString, and because it
shares many methods with UserList I want to subclass it. But
then, I need to remove some methods like .append and .pop. Can
I do that?

regards,
Gerrit.

-- 
Please correct any bad Swahili you encounter in my email message!
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O !M !V PS+ PE?
Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK-----




More information about the Python-list mailing list