aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2012-05-17 00:03:13 -0300
committerFabián Ezequiel Gallina2012-05-17 00:03:13 -0300
commit053a6c726f8bd871724bcf45978b63926bd5f769 (patch)
treedcd48455b45056284cc02074b4a934839428132f /lisp/progmodes/python.el
parent327f0e84294143404ae7889a473c978fbd235378 (diff)
downloademacs-053a6c726f8bd871724bcf45978b63926bd5f769.tar.gz
emacs-053a6c726f8bd871724bcf45978b63926bd5f769.zip
Docstrings enhancements
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b11741d4a68..0b9d99cbbee 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -875,7 +875,7 @@ With numeric ARG, just insert that many colons. With
875 "Regular expresion matching beginning of innermost class or function.") 875 "Regular expresion matching beginning of innermost class or function.")
876 876
877(defun python-nav-beginning-of-defun (&optional nodecorators) 877(defun python-nav-beginning-of-defun (&optional nodecorators)
878 "Move point to beginning-of-defun. 878 "Move point to `beginning-of-defun'.
879When NODECORATORS is non-nil decorators are not included. This 879When NODECORATORS is non-nil decorators are not included. This
880is the main part of`python-beginning-of-defun-function' 880is the main part of`python-beginning-of-defun-function'
881implementation." 881implementation."
@@ -1566,11 +1566,13 @@ Optional argument JUSTIFY defines if the paragraph should be justified."
1566 (t t)))) 1566 (t t))))
1567 1567
1568(defun python-fill-comment (&optional justify) 1568(defun python-fill-comment (&optional justify)
1569 "Comment fill function for `python-fill-paragraph-function'." 1569 "Comment fill function for `python-fill-paragraph-function'.
1570JUSTIFY should be used (if applicable) as in `fill-paragraph'."
1570 (fill-comment-paragraph justify)) 1571 (fill-comment-paragraph justify))
1571 1572
1572(defun python-fill-string (&optional justify) 1573(defun python-fill-string (&optional justify)
1573 "String fill function for `python-fill-paragraph-function'." 1574 "String fill function for `python-fill-paragraph-function'.
1575JUSTIFY should be used (if applicable) as in `fill-paragraph'."
1574 (let ((marker (point-marker)) 1576 (let ((marker (point-marker))
1575 (string-start-marker 1577 (string-start-marker
1576 (progn 1578 (progn
@@ -1610,11 +1612,13 @@ Optional argument JUSTIFY defines if the paragraph should be justified."
1610 (fill-paragraph justify)))) t) 1612 (fill-paragraph justify)))) t)
1611 1613
1612(defun python-fill-decorator (&optional justify) 1614(defun python-fill-decorator (&optional justify)
1613 "Decorator fill function for `python-fill-paragraph-function'." 1615 "Decorator fill function for `python-fill-paragraph-function'.
1616JUSTIFY should be used (if applicable) as in `fill-paragraph'."
1614 t) 1617 t)
1615 1618
1616(defun python-fill-paren (&optional justify) 1619(defun python-fill-paren (&optional justify)
1617 "Paren fill function for `python-fill-paragraph-function'." 1620 "Paren fill function for `python-fill-paragraph-function'.
1621JUSTIFY should be used (if applicable) as in `fill-paragraph'."
1618 (save-restriction 1622 (save-restriction
1619 (narrow-to-region (progn 1623 (narrow-to-region (progn
1620 (while (python-info-ppss-context 'paren) 1624 (while (python-info-ppss-context 'paren)