Staging
v0.5.1
https://github.com/python/cpython
Revision 9c1696cff55375744281580438fe29d44de04397 authored by Barry Warsaw on 15 December 1998, 04:36:22 UTC, committed by Barry Warsaw on 15 December 1998, 04:36:22 UTC
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.
1 parent ef30092
History
Tip revision: 9c1696cff55375744281580438fe29d44de04397 authored by Barry Warsaw on 15 December 1998, 04:36:22 UTC
(py-goto-beginning-of-tqs): Finds the beginning of the triple quoted
Tip revision: 9c1696c
File Mode Size
ACKS -rw-r--r-- 3.6 KB
AIX-NOTES -rw-r--r-- 7.3 KB
BLURB -rw-r--r-- 1.6 KB
BLURB.LUTZ -rw-r--r-- 5.6 KB
BLURB.WINDOWS -rw-r--r-- 3.8 KB
COPYRIGHT -rw-r--r-- 1.3 KB
Fixcprt.py -rwxr-xr-x 1.6 KB
HISTORY -rw-r--r-- 120.9 KB
HPUX-NOTES -rw-r--r-- 1.0 KB
HYPE -rw-r--r-- 3.1 KB
Makefile -rw-r--r-- 242 bytes
Makefile.pre.in -rw-r--r-- 10.0 KB
NEWS -rw-r--r-- 117.6 KB
NEXT-NOTES -rw-r--r-- 2.2 KB
PURIFY.README -rw-r--r-- 3.6 KB
Porting -rw-r--r-- 1.9 KB
README -rw-r--r-- 1.6 KB
RENAME -rw-r--r-- 10.9 KB
RFD -rw-r--r-- 3.9 KB
ccpy-style.el -rw-r--r-- 1.3 KB
cheatsheet -rw-r--r-- 21.8 KB
comparisons -rw-r--r-- 6.6 KB
editline-fix -rw-r--r-- 2.4 KB
faq2html.py -rwxr-xr-x 6.6 KB
fixfuncptrs.sh -rwxr-xr-x 2.2 KB
indent.pro -rw-r--r-- 66 bytes
python-mode.el -rw-r--r-- 111.2 KB
python.gif -rw-r--r-- 7.2 KB
python.man -rw-r--r-- 8.0 KB
renumber.py -rwxr-xr-x 2.6 KB
setuid-prog.c -rw-r--r-- 5.3 KB
vgrindefs -rw-r--r-- 498 bytes

README

back to top