diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7cd59c0c1b4..98ba437d4ef 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2681,17 +2681,17 @@ The skeleton will be bound to python-skeleton-NAME." | |||
| 2681 | 2681 | ||
| 2682 | (python-skeleton-define def nil | 2682 | (python-skeleton-define def nil |
| 2683 | "Function name: " | 2683 | "Function name: " |
| 2684 | "def " str " (" ("Parameter, %s: " | 2684 | "def " str "(" ("Parameter, %s: " |
| 2685 | (unless (equal ?\( (char-before)) ", ") | 2685 | (unless (equal ?\( (char-before)) ", ") |
| 2686 | str) "):" \n | 2686 | str) "):" \n |
| 2687 | "\"\"\"" - "\"\"\"" \n | 2687 | "\"\"\"" - "\"\"\"" \n |
| 2688 | > _ \n) | 2688 | > _ \n) |
| 2689 | 2689 | ||
| 2690 | (python-skeleton-define class nil | 2690 | (python-skeleton-define class nil |
| 2691 | "Class name: " | 2691 | "Class name: " |
| 2692 | "class " str " (" ("Inheritance, %s: " | 2692 | "class " str "(" ("Inheritance, %s: " |
| 2693 | (unless (equal ?\( (char-before)) ", ") | 2693 | (unless (equal ?\( (char-before)) ", ") |
| 2694 | str) | 2694 | str) |
| 2695 | & ")" | -2 | 2695 | & ")" | -2 |
| 2696 | ":" \n | 2696 | ":" \n |
| 2697 | "\"\"\"" - "\"\"\"" \n | 2697 | "\"\"\"" - "\"\"\"" \n |