code: def _remove_allocated_block(self, block):
      arena, start, stop = block
      blocks = self._allocated_blocks[arena]
      blocks.remove((start, stop))
      if not blocks:
          # Arena is entirely free, discard it from this process
          self._discard_arena(arena)
  
imports: import bisect
  from collections import defaultdict
  import mmap
  import os
  import sys
  import tempfile
  import threading
  from .context import reduction, assert_spawning
  from .None import util
label_desc: Use image node_id 8 for calling the Heap obj's underlying member method code with example usage: obj._remove_allocated_block(block) without return types