title: 'staticmethod' object is not callable
body: <p>I have this code:</p>
  <pre class="lang-py prettyprint-override"><code>class A(object):
      @staticmethod
      def open():
          return 123
  
      @staticmethod
      def proccess():
          return 456
  
      switch = {
          1: open,
          2: proccess,
      }
  
  
  obj = A.switch[1]()
  </code></pre>
  <p>When I run this I keep getting the error:</p>
  <pre><code>TypeError: 'staticmethod' object is not callable
  </code></pre>
  <p>how to resolve it?</p>