How to pass object to a function in this scenario
<p>I have the following piece of code:</p>

<pre><code> NameX.functionA(functionB(Dictionary["___"]))
</code></pre>

<p>Instead of <em>_</em> I would like to make a reference to NameX in the form of a string, so that the program interprets it as </p>

<pre><code> NameX.functionA(functionB(Dictionary["NameX"]))
</code></pre>

<p>How can I do this? I tried to use str(self), but it is clearly wrong. </p>

<p>Thanks</p>
