commit | 400aedacc06ac33c2bb488f3f95a90f11e96e168 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Mar 15 22:03:18 2008 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Mar 15 22:03:18 2008 +0000 |
tree | 9a33f529ab9565563edad0cbca5da652e0a1f6c5 | |
parent | cd6bfab4101f8923aadfdf392b9d0615a9686064 [diff] |
Add a warning for code like: assert (0, 'message') An empty tuple does not create a warning. While questionable usage: assert (), 'message' should not display a warning. Tested manually. The warning message could be improved. Feel free to update it.