(py-shift-region-left): When checking for left edged code, watch for
blank lines.
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 229ba4e..80cc0f5 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -963,7 +963,8 @@
(goto-char start)
(while (< (point) end)
(back-to-indentation)
- (if (zerop (current-column))
+ (if (and (zerop (current-column))
+ (not (looking-at "\\s *$")))
(error "Region is at left edge."))
(forward-line 1)))
(py-shift-region start end (- (prefix-numeric-value