Calling a python method
<p>I have a file <code>notifications.py</code> and <code>comments.py</code>. notifications has a class <code>GetNotifications</code> with a function <code>getNotifs(arg1, arg2)</code>. I'd like to call this method in my comments.py, so I do: </p>

<p><code>from notifications import GetNotifications</code></p>

<p>Then I create an instance of the class:</p>

<pre><code>getNotifsInstance = GetNotifications()
</code></pre>

<p>Then I try to call getNotifs:</p>

<pre><code>notifsDictionary = getNotifsInstance.getNotifs(arg1, arg2)
</code></pre>

<p>However, I'm getting the error:
<code>TypeError: getNotifs() takes at most 2 arguments (3 given)</code></p>

<p>Why is it saying I'm giving it 3 arguments when I'm only giving it 2?</p>
