class_docstr: Used by wait(return_when=FIRST_EXCEPTION and ALL_COMPLETED).
class_docstr_tok: ["Used","by","wait","(","return_when=FIRST_EXCEPTION","and","ALL_COMPLETED",")","."]
code: def _decrement_pending_calls(self):
      with self.lock:
          self.num_pending_calls -= 1
          if not self.num_pending_calls:
              self.event.set()
  
imports: import collections
  import logging
  import threading
  import time
  import types
label_desc: Use image node_id 2 for calling the _AllCompletedWaiter obj's underlying member method code with example usage: obj._decrement_pending_calls() without return types