Home
last modified time | relevance | path

Searched refs:_NewClass (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/python/util/
Ddeprecation.py191 class _NewClass(func_or_class): # pylint: disable=missing-docstring class
202 if hasattr(_NewClass.__init__, '__func__'):
204 _NewClass.__init__.__func__.__doc__ = func_or_class.__init__.__doc__
207 _NewClass.__init__.__doc__ = func_or_class.__init__.__doc__
213 if _NewClass.__init__ not in _PRINTED_WARNING:
215 _PRINTED_WARNING[_NewClass.__init__] = True
219 super(_NewClass, self).__init__(*args, **kwargs)
221 return _NewClass