coding convention conversion

Garry Knight garryknight at bigfoot.com
Sat Dec 23 08:38:54 EST 2000


In article <mailman.977547906.22999.python-list at python.org> "David
Porter" <jcm at bigskytel.com> wrote:

> * Garry Knight <garryknight at bigfoot.com>:
>> In article <mailman.977516469.1157.python-list at python.org> "Issac
>> Trotts" <trotts at llnl.gov> wrote:
>> 
>> > Does anyone know of a utility to change between the coding
>> > conventions
>> >  of
>> > 
>> > def fooBarBaz(): pass
>> > 
>> > and 
>> > 
>> > def foo_bar_baz(): pass
>> > 
>> > It is a pain to do this by hand.

[snip program]
 
> It only changes the def lines. It should also alter the lines that
> call the function (but not imported functions):

Sorry, this was one of those 1:30 am postings. I'll amend it when I get
back later tonight.  :o(

-- 
Garry Knight
garryknight at bigfoot.com



More information about the Python-list mailing list