title: Method returning type 'nonetype' not type ''dict'
body: <p>I have a program that basically do this:</p>
  
  <pre><code>class principal():
      def execute(self):
          x = calculate()
          final = x.vars1()
          print str(type(final))
  
  class calculate():
      def __init__(self):
          t = self.vars1()
      def vars1(self):
          a = {}
          for i in xrange(0,10):
              a[i] = i*10
  
          self.result(a)
  
      def result(self,r):
          return r
  
  
  m = principal()
  x = m.execute()
  </code></pre>
  
  <p>My return is "type 'NoneType'"
  Why is not returning a dict type, witch is what I expect?</p>