Python: Problems adding items to list in a class
<p>I've got a class defined with a method to add items to it:</p>

<pre><code>class ProdReg:
    def __init__(self):
        self.__PListe=[]
    def addProdukt(self,pItem): 
        self.__Pliste.append(pItem)
</code></pre>

<p>When I instantiate a ProdReg object and try to add an object to it with the following code i gent an error:</p>

<pre><code>pr.addProdukt(b)
</code></pre>

<p>I get the following error:
AttributeError: <code>'ProdReg' object has no attribute '_ProdReg__Pliste'</code></p>

<p>What's wrong? I'm not able to figure thisone out.</p>

<p>/Andy.l</p>
