[3.13] gh-119049: Fix incorrect display of warning which is constructed by C API (GH-119063) (GH-119106)
The source line was not displayed if the warnings module had not yet been imported. (cherry picked from commit 100c7ab00ab66a8c0d54582f35e38d8eb691743c) Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
M
Miss Islington (bot) committed
ced71d39cfc2ab6e227824fe891101dcb473c2e3
Parent: ada4ad0
Committed by GitHub <noreply@github.com>
on 5/17/2024, 3:16:58 PM