Staging
v0.8.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
example_nt
os2vacpp
src
utils
vc15_lib
vc15_w31
wat_dos
wat_os2
WinMain.c -rw-r--r-- 426 bytes
_tkinter.def -rw-r--r-- 22 bytes
config.c -rw-r--r-- 3.7 KB
config.h -rw-r--r-- 13.4 KB
dl_nt.c -rw-r--r-- 906 bytes
dllbase_nt.txt -rw-r--r-- 1.5 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 11.4 KB
import_nt.c -rw-r--r-- 2.2 KB
make8x3.py -rw-r--r-- 2.2 KB
makesrc.exe -rw-r--r-- 25.0 KB
msvcrtmodule.c -rwxr-xr-x 4.0 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyth_w31.def -rw-r--r-- 128 bytes
python.mk -rw-r--r-- 234 bytes
python.wpj -rw-r--r-- 412 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.4 KB
readme.txt -rw-r--r-- 7.9 KB
testpy.py -rw-r--r-- 850 bytes
vc40.mak -rw-r--r-- 123.0 KB

readme.txt

back to top