title: What's the difference between the .width and .w attribute of a Pygame Rect object?
body: <p>The official <a href="http://www.pygame.org/docs/" rel="nofollow noreferrer"><em>pygame documentation</em></a> states that there are several <em>virtual attributes</em> which can be used to move and align a <code>pygame.Rect</code> instance:</p>
  
  <p><img src="https://i.stack.imgur.com/Lm8Nv.png" alt="Virtual Attributes of a PyGame Rect Object"></p>
  
  <p>Until now <strong>I used <code>myRect.w</code> respectively <code>myRect.h</code> to determine the width or height</strong> of an <code>pygame.Rect</code> object. But to complete this graphic I came across the <strong><code>.width</code> and <code>.height</code> attributes</strong>.</p>
  
  <p>The interesting thing is that <strong>both attributes seem to provide us the same date</strong>, as you can see in following code listing:</p>
  
  <pre><code>&gt;&gt;&gt; myRect = pygame.Rect((10, 20), (200,100)) #create a new Rect instance
  &gt;&gt;&gt; myRect.w
  200
  &gt;&gt;&gt; myRect.width
  200
  &gt;&gt;&gt; myRect.size
  (200, 100)
  </code></pre>
  
  <p><em>What´s now the difference between these two attribute pairs?</em></p>