bpo-35178: Pass positional arguments to formatwarning(). by tashrifbillah · Pull Request #10343 · python/cpython
The last argument should be `msg.line`. Having `line=msg.line` generates an error message: `got an unexpected keyword arugument line=msg.line`
vstinner
changed the title
Typo/trivial mistake
bpo-35178: Typo/trivial mistake
serhiy-storchaka
changed the title
bpo-35178: Typo/trivial mistake
bpo-35178: Pass positional arguments to formatwarning().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters