diff options
| author | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-28 17:47:12 (GMT) |
|---|---|---|
| committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2001-02-28 17:47:12 (GMT) |
| commit | ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08 (patch) | |
| tree | 3b1b99d9f5330c80768ceb14484050a3ff7162d7 /Lib/warnings.py | |
| parent | 5687ffe0c56a827b538589fc46e79dfacfd857f3 (diff) | |
| download | cpython-ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08.zip cpython-ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08.tar.gz cpython-ad3d3f2f3f19833f59fd7e9ec59e1714e0986e08.tar.bz2 | |
Improve SyntaxErrors for bad future statements. Set file and location
for errors raised in future.c.
Move some helper functions from compile.c to errors.c and make them
API functions: PyErr_SyntaxLocation() and PyErr_ProgramText().
Diffstat (limited to 'Lib/warnings.py')
0 files changed, 0 insertions, 0 deletions
