Searched refs:stacklevel (Results 1 – 8 of 8) sorted by relevance
48 def warn_deprecation(text, version, stacklevel): argument54 warnings.warn(text, cls, stacklevel=stacklevel+1)
221 warnings.warn(msg, UserWarning, stacklevel=2)
384 warnings.warn(text, warn_class, stacklevel=2)
19 stacklevel=1)
22 stacklevel=1)