Fixed my-python/send-paragraph: part of region was remained highlighted after (mark-paragraph).
--- a/.emacs-my Mon Jan 18 00:59:35 2021 +0200
+++ b/.emacs-my Mon Jan 18 01:12:09 2021 +0200
@@ -3088,8 +3088,11 @@
(defun my-python/send-paragraph ()
(interactive)
(save-excursion
- (mark-paragraph)
- (python-shell-send-region (point) (mark))))
+ (let ( end )
+ (forward-paragraph)
+ (setq end (point))
+ (backward-paragraph)
+ (python-shell-send-region (point) end))))
;; For built-in python.el
(my--eval-after-load python