bpo-35178: Pass positional arguments to formatwarning(). by tashrifbillah · Pull Request #10343 · python/cpython

@tashrifbillah

The last argument should be `msg.line`. Having `line=msg.line` generates an error message:
`got an unexpected keyword arugument line=msg.line`

@vstinner vstinner changed the title Typo/trivial mistake bpo-35178: Typo/trivial mistake

Nov 6, 2018

vstinner

@serhiy-storchaka serhiy-storchaka changed the title bpo-35178: Typo/trivial mistake bpo-35178: Pass positional arguments to formatwarning().

Nov 9, 2018