title: How to indicate multiple unused values in Python?
body: <p>Normally in Python, one should use an <code>_</code> to indicate an argument is unused.  </p>
  
  <pre><code>def example_basic(unused):
     pass
  </code></pre>
  
  <p>becomes</p>
  
  <pre><code>def example_basic(_):
     pass
  </code></pre>
  
  <p>Then if there are multiple unused arguments, multiple <code>_</code>s can't be used since they will conflict, so a <code>*_</code> is used:</p>
  
  <pre><code>def example_multiple(unused1, unused2):
     pass
  </code></pre>
  
  <p>becomes</p>
  
  <pre><code>def example_multiple(*_):
     pass
  </code></pre>
  
  <p>Finally, what should be done if there are multiple non-adjacent arguments that go unused?</p>
  
  <pre><code>def example_non_adjacent(unused1, used, unused2):
      return used
  </code></pre>
  
  <p>Using multiple <code>_</code>s still does not work, and using <code>*_</code> won't work since they're non-adjacent.</p>
  
  <p>Note that I would very much prefer to change the API, but for the sake of this question let's assume that's not possible. Is there a way to indicate it's ignored without using something like <code># pylint: disable=unused-argument</code> for PyLint or i-dont-know-what for PyCharm?</p>
  
  <p>EDIT:</p>
  
  <p>I posted an example where this is needed <a href="https://stackoverflow.com/questions/47316154/how-to-remove-unused-function-parameters-in-shutil-rmtree">here</a></p>