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
Compat
Contrib
Demo
Distributions
GUSI-mods
Include
Lib
MPW
Modules
Python
Resources
Tools
Unsupported
mwerks
scripts
tclmods
think
HISTORY -rw-r--r-- 27.2 KB
ReadMe -rw-r--r-- 7.2 KB
ReadMe-dev -rw-r--r-- 876 bytes
ReadMe-src -rw-r--r-- 561 bytes
Relnotes -rw-r--r-- 6.6 KB
_checkversion.py -rw-r--r-- 417 bytes
errno_unix.h -rw-r--r-- 307 bytes
fopenRF.c -rw-r--r-- 5.9 KB
mkapplet.py -rw-r--r-- 5.7 KB
mwerksglue.c -rw-r--r-- 566 bytes

ReadMe

back to top