Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

CVS: python/dist/src/Misc python-mode.el

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


bwarsaw at cnri

Dec 14, 1998, 9:36 PM

Post #1 of 1 (17 views)
Permalink
CVS: python/dist/src/Misc python-mode.el

Update of /projects/cvsroot/python/dist/src/Misc
In directory anthem:/projects/python/develop/bwarsaw/src/Misc

Modified Files:
python-mode.el
Log Message:
(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.

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.