mirror of
https://github.com/python/cpython.git
synced 2025-10-28 20:25:04 +00:00
`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. |
||
|---|---|---|
| .. | ||
| data | ||
| __init__.py | ||
| __main__.py | ||