code: def nicerepr(v):
      if inspect.isfunction(v):
          return get_pretty_function_description(v)
      elif isinstance(v, type):
          return v.__name__
      else:
          return to_str(pretty(v))
  
imports: from __future__ import absolute_import, division, print_function
  import ast
  import hashlib
  import inspect
  import re
  import types
  from functools import wraps
  from types import ModuleType
  from hypothesis.internal.compat import ARG_NAME_ATTRIBUTE, PY2, getfullargspec, hrange, isidentifier, qualname, str_to_bytes, to_str, to_unicode, update_code_location
  from hypothesis.vendor.pretty import pretty
label_desc: Use image node_id 12 for calling a global function with example usage: nicerepr(v) and returns: get_pretty_function_description, v, to_str