mirror of
https://github.com/python/cpython.git
synced 2026-05-18 02:15:28 -04:00
1eaf0742d8
catch_warnings(), and clean up the API. While expanding the test suite, a bug was found where a warning about the 'line' argument to showwarning() was not letting functions with '*args' go without a warning. Closes issue 3602. Code review by Benjamin Peterson.