Although it's true the first level is apparently 4 spaces indented due to the tab from the left margin, the next level is the equivalent of 8 spaces in due to the next tab: >>> def foo(): if (1): a=3 Regards, KBK