code: def _intc_overflow(x, msg=None):
      """Cast the value to an intc and raise an OverflowError if the value
      cannot fit.
      """
      if x > iinfo(intc).max:
          if msg is None:
              msg = "%r cannot fit into an intc" % x
          raise OverflowError(msg)
      return intc(x)
  
file_path: catboost/contrib/python/scipy/py2/scipy/interpolate/_fitpack_impl.py
imports: from __future__ import division, print_function, absolute_import
  import warnings
  import numpy
  from .None import _fitpack
  from numpy import atleast_1d, array, ones, zeros, sqrt, ravel, transpose, empty, iinfo, intc, asarray
  from .None import dfitpack
label_desc: Use image node_id 1 for calling a global function with example usage: _intc_overflow(x, msg) and returns: intc