Indentation/whitespace
Diez B. Roggisch
deets at nospam.web.de
Mon Jan 16 12:10:51 EST 2006
thakadu wrote:
>>It just has to be consistent within a *single* block.
>
> Correct, and therein lies the problem I am describing.
> If someone has used two spaces and you paste into
> the SAME block where you are using four spaces
> you will break your code.
And then you invoke your "in/dedent block" function of your editor, and
things work. Similar to hitting "Format Source" in eclipse for JAVA.
Diez
More information about the Python-list
mailing list