commit | 9e2631897539a95f1413df00847544487fb3b827 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Feb 28 21:43:40 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Feb 28 21:43:40 2001 +0000 |
tree | 1a31c6f471d05f148c0b907a5fe642354d0a8582 | |
parent | d6a1d79d167db2bed280d055039afdb1a91e5e57 [diff] |
Add a new API: warn_explicit(message, category, filename, lineno, module, registry) The regular warn() call calculates a bunch of values and calls warn_explicit() with these. This will be used to issue better syntax warnings.