old_contents: #!/usr/bin/env python3
  
  """Small utility functions for use in various places."""
  
  __all__ = ["pick", "is_dunder", "convert_to_od"]
  
  import collections
  import itertools
  
  def pick(arg, default):
      """Handler for default versus given argument."""
      return default if arg is None else arg
  
  def is_dunder(name):
      """Return True if a __dunder__ name, False otherwise."""
      return name[:2] == name[-2:] == "__" and "_" not in (name[2:3], name[-3:-2])
  
  def convert_to_od(mapping, order):
      """Convert mapping to an OrderedDict instance using order."""
      return collections.OrderedDict([(i, mapping[i]) for i in order])
  
  def counter_to_iterable(counter):
      """Convert a counter to an iterable / iterator."""
      for item in itertools.starmap(itertools.repeat, counter):
          yield from item
  
new_contents: #!/usr/bin/env python3
  
  """Small utility functions for use in various places."""
  
  __all__ = ["pick", "is_dunder", "convert_to_od", "counter_to_iterable"]
  
  import collections
  import itertools
  
  def pick(arg, default):
      """Handler for default versus given argument."""
      return default if arg is None else arg
  
  def is_dunder(name):
      """Return True if a __dunder__ name, False otherwise."""
      return name[:2] == name[-2:] == "__" and "_" not in (name[2:3], name[-3:-2])
  
  def convert_to_od(mapping, order):
      """Convert mapping to an OrderedDict instance using order."""
      return collections.OrderedDict([(i, mapping[i]) for i in order])
  
  def counter_to_iterable(counter):
      """Convert a counter to an iterable / iterator."""
      for item in itertools.starmap(itertools.repeat, counter):
          yield from item
  
subject: Add missing __all__ entry