diff options
author | Barry Warsaw <barry@python.org> | 1998-12-15 04:36:22 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1998-12-15 04:36:22 +0000 |
commit | ffacc629470d4d2a981cc89a566eee3b1976bfe6 (patch) | |
tree | 21834e7f1cbe23f596605e79a7de80af1013e757 /Python/pythonrun.c | |
parent | 631fc47d62ae5973d1173f26a4add66f5bb9aea9 (diff) | |
download | cpython-ffacc629470d4d2a981cc89a566eee3b1976bfe6.tar.gz |
(py-goto-beginning-of-tqs): Finds the beginning of the triple quoted
string we find ourselves in, based on the passed in delimiter.
(py-compute-indentation): Fixes for indentation errors when we land
inside a triple quoted string. For example:
def foo():
if os.path.isfile(o_pri_mbox_file) and os.path.isfile(o_pub_mbox_file):
print """\
I found both a private and a public mbox archive file
private: %s
public : %s
I won't move either file, but you should choose one and move it to
%s
You may want to merge them manually, but be careful about exposing private
correspondences to the public.""" % (
o_pri_mbox_file, o_pub_mbox_file, mbox_file)
*----indentation would be wrong on this line.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions