title: What does next mean here? Python Instagram API
body: <p>I'm trying to use the Python Instagram API and came across a sample code on its github documentation that I don't understand.</p>
  
  <p>In the fifth line, why do we put next? What is next doing?<br>
  Why aren't we allowed to simply write recent_media = api.user_recent_media(user_ir)?</p>
  
  <pre><code>from instagram.client import InstagramAPI
  
  access_token = "YOUR_ACCESS_TOKEN"
  api = InstagramAPI(access_token=access_token)
  recent_media, next = api.user_recent_media(user_id="userid", count=10)
  for media in recent_media:
     print media.caption.text
  </code></pre>
  
  <p><a href="https://github.com/Instagram/python-instagram" rel="nofollow">https://github.com/Instagram/python-instagram</a></p>