title: TypeError: 'str' object is not callable // class?
body: <p>Here is my <code>Transaction</code> class:</p>
  
  <pre><code>class Transaction(object):
      def __init__(self, company, price, date):
          self.company = company
          self.price = price
          self.date = date
      def company(self):
          return self.company
      def price(self):
          return self.price
      def date(self):
          self.date = datetime.strptime(self.date, "%y-%m-%d")
          return self.date
  </code></pre>
  
  <p>And when I'm trying to run the <code>date</code> function:</p>
  
  <pre><code>tr = Transaction('AAPL', 600, '2013-10-25')
  print tr.date()
  </code></pre>
  
  <p>I'm getting the following error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/me/Documents/folder/file.py", line 597, in &lt;module&gt;
      print tr.date()
  TypeError: 'str' object is not callable
  </code></pre>
  
  <p>How can I fix that?</p>