 	  (narrow-to-defun)
       (let ((current-class (first (split-string (python-info-current-defun) "\\."))))
       (my-jump-to-doc-string)
-      (forward-char 1)
+      (if (not (looking-at "[[:space:]]*$"))
+          (forward-char 1)
+        (delete-forward-char 1))
       (back-to-indentation)
       (if (looking-at current-class)
           (kill-whole-line))

(setq-default truncate-lines t)
(setq comment-auto-fill-only-comments t)
(setq scroll-error-top-bottom 'true)

; miscellaneous behavior tweaks


    (insert "\"\"\"\n\n")
    (indent-for-tab-command)
    (insert "\"\"\"\n")
    (if (not (looking-at "[[:space:]]*$"))
        (indent-for-tab-command)
      )
    (forward-line -2)
    (back-to-indentation)
    (call-interactively 'my-python-set-test-id)
    ))

(defun goto-line-with-feedback ()
  "Show line numbers temporarily, while prompting for the line number input"
