title: ().is_integer() not working
body: <p>Whats wrong with this code:</p>
  
  <pre><code>n = 10
  ((n/3)).is_integer()
  </code></pre>
  
  <p>I do not understand why I cannot set n = any number and check if it is an integer or not. </p>
  
  <p>Thanks for your help!</p>
  
  <p>python 2.7.4</p>
  
  <p>error:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/home/userh/Arbeitsfläche/übung.py", line 2, in &lt;module&gt;
      print ((n/3)).is_integer()
  AttributeError: 'int' object has no attribute 'is_integer'
  </code></pre>