mirror of
https://github.com/python/cpython.git
synced 2025-10-24 18:33:49 +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. |
||
|---|---|---|
| .. | ||
| import_warning.py | ||
| package_helper.py | ||
| stacklevel.py | ||