mirror of https://github.com/python/cpython
052f53d65d
`warnings.warn()` gains the ability to skip stack frames based on code filename prefix rather than only a numeric `stacklevel=` via a new `skip_file_prefixes=` keyword argument. |
||
---|---|---|
.. | ||
Python-tokenize.c.h | ||
_warnings.c.h | ||
bltinmodule.c.h | ||
context.c.h | ||
import.c.h | ||
marshal.c.h | ||
sysmodule.c.h | ||
traceback.c.h |