diff options
| author | Barry Warsaw <barry@python.org> | 2002-04-22 16:23:29 (GMT) |
|---|---|---|
| committer | Barry Warsaw <barry@python.org> | 2002-04-22 16:23:29 (GMT) |
| commit | a0113cd5cdb1e6c38ffa6ba7fb2ce6b775b1814c (patch) | |
| tree | 36be64d3866031436feacc17d548b13b3f9ea62a /Tools/idle/CallTipWindow.py | |
| parent | b2d5e62d65c2277832441956b99224eefd9514f8 (diff) | |
| download | cpython-a0113cd5cdb1e6c38ffa6ba7fb2ce6b775b1814c.zip cpython-a0113cd5cdb1e6c38ffa6ba7fb2ce6b775b1814c.tar.gz cpython-a0113cd5cdb1e6c38ffa6ba7fb2ce6b775b1814c.tar.bz2 | |
(py-execute-region): If the line at the beginning of the region is a
#! line, use the command on that line as the shell command to use to
execute the region. I.e. if the region looks like
----------------
#! /usr/bin/env python1.5
print 'hello world'.startswith('hello')
----------------
you'll get an exception! :)
This closes SF bug #232398.
Diffstat (limited to 'Tools/idle/CallTipWindow.py')
0 files changed, 0 insertions, 0 deletions
