title: TypeError: unbound method setSize() must be called with Page instance as first argument (got classobj instance instead)
body: <p>When I run the code provided below, I get the following error: </p>
  
  <p>TypeError: unbound method setSize() must be called with Page instance as first argument (got int instance instead)</p>
  
  <blockquote>
    <p>In my main, I call a class called Page. The variable pageSize is an integer. </p>
  </blockquote>
  
  <pre><code>from Page import Page as Page
  def main():
     #other code....
  
     Page.setSize(pageSize)
  </code></pre>
  
  <blockquote>
    <p>This is my class of Page: </p>
  </blockquote>
  
  <pre><code>class Page:
      def __init__(self, frame):
      self.frameId = frame
      self.pageId = -1
      self.timeEvicted = 0
      self.timeLoaded = 0
      self.ifLoaded = False
      self.ownerProcess = 0
      self.referencedWords = []
  
  def initalize(owner, pgId, refdWord, ifLoad):
      self.ownerProcess = owner
      self.pageId = pgId
      addRefdWord(refdWord)
      self.ifLoaded = ifLoad
  
  def setSize(s):
      self.size = s
  </code></pre>