old_contents: from __future__ import absolute_import
  import sys
  import inspect
  import collections
  
  
  def get_caller(offset=0):
      _, filename, lineum, funcname, _, _ = inspect.stack()[offset]
      return collections.namedtuple('caller', 'filename linenum funcname')(filename, lineum, funcname)
  
  
  def string_type():
      try:
          return basestring
      except:
          return str
  
  
  def stringify(x):
      if sys.version_info < (3,):
          return x
      if isinstance(x, bytes):
          return x.decode('utf-8')
  
  
  class ModuleRedirector(object):
      def __init__(self, name, fn, redirect_everything=False):
          self.__orig_module = sys.modules[name]
          sys.modules[name] = self
          self.__everything = redirect_everything
          self.__fn = fn
  
      def __getattr__(self, name):
          try:
              assert not self.__everything
              return getattr(self.__orig_module, name)
          except (AssertionError, AttributeError):
              return self.__fn(name)
  
  
  def decorate(val, _name_, decorator):
      assert isinstance(val, dict)
      assert isinstance(_name_, string_type())
      assert callable(decorator)
      for k, v in list(val.items()):
          if callable(v) and v.__module__ == _name_:
              fn = decorator(v)
              val[k] = fn
  
  
  def pformat_prep(val):
      import s
      if isinstance(val, tuple) and hasattr(val, '_fields'):
          return ['namedtuple'] + [{k: v} for k, v in zip(val._fields, val)]
      elif isinstance(val, collections.Counter):
          return ['counter'] + [{k: v} for k, v in sorted(val.items(), key=lambda x: x[1], reverse=True)]
      elif isinstance(val, dict):
          return {k: pformat_prep(v) for k, v in val.items()}
      elif isinstance(val, s.data._listy_types):
          return [pformat_prep(x) for x in val]
      elif isinstance(val, set):
          return {pformat_prep(x) for x in val}
      return val
  
new_contents: from __future__ import absolute_import, print_function
  import sys
  import inspect
  import collections
  
  
  def get_caller(offset=0):
      _, filename, lineum, funcname, _, _ = inspect.stack()[offset]
      return collections.namedtuple('caller', 'filename linenum funcname')(filename, lineum, funcname)
  
  
  def string_type():
      try:
          return basestring
      except:
          return str
  
  
  def stringify(x):
      if sys.version_info < (3,):
          return x
      if isinstance(x, bytes):
          return x.decode('utf-8')
  
  
  class ModuleRedirector(object):
      def __init__(self, name, fn, redirect_everything=False):
          self.__orig_module = sys.modules[name]
          sys.modules[name] = self
          self.__everything = redirect_everything
          self.__fn = fn
  
      def __getattr__(self, name):
          try:
              assert not self.__everything
              return getattr(self.__orig_module, name)
          except (AssertionError, AttributeError):
              return self.__fn(name)
  
  
  def decorate(val, _name_, decorator):
      assert isinstance(val, dict)
      assert isinstance(_name_, string_type())
      assert callable(decorator)
      for k, v in list(val.items()):
          if callable(v) and v.__module__ == _name_:
              fn = decorator(v)
              val[k] = fn
  
  
  def pformat_prep(val):
      import s
      if isinstance(val, tuple) and hasattr(val, '_fields'):
          return ['namedtuple'] + [{k: v} for k, v in zip(val._fields, val)]
      elif isinstance(val, collections.Counter):
          return ['counter'] + [{k: v} for k, v in sorted(val.items(), key=lambda x: x[1], reverse=True)]
      elif isinstance(val, dict):
          return {k: pformat_prep(v) for k, v in val.items()}
      elif isinstance(val, s.data._listy_types):
          return [pformat_prep(x) for x in val]
      elif isinstance(val, set):
          return {pformat_prep(x) for x in val}
      return val
  
subject: print function