class_docstr: Decorator class to deprecate old functions.
  
  Refer to `deprecate` for details.
  
  See Also
  --------
  deprecate
class_docstr_tok: ["Decorator","class","to","deprecate","old","functions",".","Refer","to","`","deprecate","`","for","details",".","See","Also","--","--","--","--","deprecate"]
code: def __init__(self, old_name=None, new_name=None, message=None):
      self.old_name = old_name
      self.new_name = new_name
      self.message = message
  
imports: import os
  import sys
  import textwrap
  import types
  import re
  import warnings
  import functools
  import platform
  from numpy._core import ndarray
  from numpy._utils import set_module
  import numpy
label_desc: Use image node_id 1 to create a new _Deprecate object  with example: obj = _Deprecate(old_name, new_name, message)