diff options
author | Guido van Rossum <guido@python.org> | 2001-02-28 21:55:38 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-02-28 21:55:38 (GMT) |
commit | 0bba7f83f2e04652e074acd918c2966c42f77af1 (patch) | |
tree | 0d16b0b31a92052b3327e312a00113b799fdca5d /Doc/lib/libtokenize.tex | |
parent | 9da7f3b4f44eb4e2c9782f9f73da5e46dc1b9f96 (diff) | |
download | cpython-0bba7f83f2e04652e074acd918c2966c42f77af1.zip cpython-0bba7f83f2e04652e074acd918c2966c42f77af1.tar.gz cpython-0bba7f83f2e04652e074acd918c2966c42f77af1.tar.bz2 |
Use the new PyErr_WarnExplicit() API to issue better warnings for
global after assign / use.
Note: I'm not updating the PyErr_Warn() call for import * / exec
combined with a function, because I can't trigger it with an example.
Jeremy, just follow the example of the call to PyErr_WarnExplicit()
that I *did* include.
Diffstat (limited to 'Doc/lib/libtokenize.tex')
0 files changed, 0 insertions, 0 deletions