title: Is it acceptable to use a stop size larger than length of list when using colon to slice list in Python?
body: <p>I want to find the first 3 elements in list by using <code>my_list[:3]</code>, but I cannot guarantee that the list will be at least length 3.</p>
  
  <p>I can only find examples with given list and small stop. So, I want to know whether <code>my_list[:3]</code> is acceptable without checking the length of list.</p>
  
  <p>Thanks!</p>
  
  <p>I have tried by myself and it works well. But I want to see whether any description of doc.</p>