]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add a new API:
authorGuido van Rossum <guido@python.org>
Wed, 28 Feb 2001 21:43:40 +0000 (21:43 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Feb 2001 21:43:40 +0000 (21:43 +0000)
commit9e2631897539a95f1413df00847544487fb3b827
tree1a31c6f471d05f148c0b907a5fe642354d0a8582
parentd6a1d79d167db2bed280d055039afdb1a91e5e57
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.
Lib/warnings.py