code: def ipdocstring(func):
      """Change the function docstring via ip2py."""
      if func.__doc__ is not None:
          func.__doc__ = ip2py(func.__doc__)
      return func
  
file_path: catboost/contrib/python/ipython/py2/IPython/testing/ipunittest.py
imports: from __future__ import absolute_import
  import re
  import unittest
  from doctest import DocTestFinder, DocTestRunner, TestResults
label_desc: Use image node_id 2 for calling a global function with example usage: ipdocstring(func) and returns: func