問題があり、解決策が見つからないようです。私はスーパークラスである3つのクラスを持っA
てB
いC
ますA
。
class A(object):
def __str__(self):
self._general_representation(str)
def _general_representation(self,to_string):
(nominal_value, std_dev) = (self._nominal_value, self.std_dev())
def std_dev(self)
a = error_components()*something
def error_components(self):
return something
class B(A):
class C(B):
クラスが「祖父母」クラスのandC
をオーバーライドできるようにしたい。これどうやってするの?クラスAとBを変更できません.Python 3.3でこれを行う方法はありますか?std_dev()
error_components()