 		  (progn
 		    (goto-char startpos)
 		    (skip-chars-forward "^ \t\n")))
-	      (+ (current-column) py-continuation-offset 1)
+	      ;; if this is a continuation for a block opening
+	      ;; statement, add some extra offset.
+	      (+ (current-column) (if (py-statement-opens-block-p)
+				      py-continuation-offset 0)
+		 1)
 	      ))))
 
        ;; not on a continuation line

  :group 'python)

(defcustom py-continuation-offset 4
  "*Additional amount of offset to give for continuation lines.
Continuation lines are those that immediately follow a backslash
terminated line."
  :type 'integer
  :group 'python)


;; Created:    Feb 1992
;; Keywords:   python languages oop

(defconst py-version "4.3"
  "`python-mode' version number.")

;; This software is provided as-is, without express or implied
