This is probably a stupid question: Is there a way to hide or delete a
method for a class? If I do this:
class SteenrodAlgebra(Algebra):
blah
blah
then do
A = SteenrodAlgebra()
then A has inherited all of the methods from the Algebra class, many
of which are useful, but some of which are completely irrelevant
(e.g., the 'variable_name' method). It might be nice if I could
define the class SteenrodAlgebra so as to hide (or remove) those
methods, so that 'A.<tab>' doesn't display them as possibilities. (I'm
trying to think of this from the point of view of beginning users who
might be overwhelmed by the long list of options when they try to tab-
complete.)
So, is there any way to do this, or am I stuck with these methods once
I define SteenrodAlgebra in terms of the Algebra class?
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---