Subject: | Wrong attribute in Python class |
Hello,
in the minimal example attached, the generated Dia class has an
attribute "setMaterial". This is wrong because there is only one
attribute called "material".
Subject: | test.py |
# Encoding: utf-8
class HalfSpace:
material = None #Â Material object
def __init__(self, material=None):
"""Create a homogeneous half-space of the given material."""
self.setMaterial(material)
def setMaterial(self, material):
pass