DOS, UNIX and tabs
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sun Dec 31 06:11:33 EST 2006
In message <pan.2006.12.31.10.44.59.201060 at gmx.net>, Marc 'BlackJack'
Rintsch wrote:
> In <mailman.2163.1167518010.32031.python-list at python.org>, Paul McNett
> wrote:
>
>> Everyone can choose their own number of spaces-per-tab and
>> it'll look right, as long as everyone uses a monospace font.
>
> You never tried that with tabs plus additional spaces to line up e.g.
> arguments that are broken across lines, right?
I prefer a more two-dimensional layout, keeping consistent indentation. To
illustrate using the example from Paul McNett:
class Apple(object):
def contrived_example_function \
(
self,
argument1,
argument2,
argument3,
argument4
) :
print "hello, world"
#end contrived_example_function
#end Apple
More information about the Python-list
mailing list