aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index fd700463acb..5aeefe47a54 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -2737,7 +2737,7 @@ killed."
2737 (process (get-buffer-process buffer)) 2737 (process (get-buffer-process buffer))
2738 ;; Users can override the interpreter and args 2738 ;; Users can override the interpreter and args
2739 ;; interactively when calling `run-python', let-binding 2739 ;; interactively when calling `run-python', let-binding
2740 ;; these allows to have the new right values in all 2740 ;; these allows having the new right values in all
2741 ;; setup code that is done in `inferior-python-mode', 2741 ;; setup code that is done in `inferior-python-mode',
2742 ;; which is important, especially for prompt detection. 2742 ;; which is important, especially for prompt detection.
2743 (python-shell--interpreter interpreter) 2743 (python-shell--interpreter interpreter)
@@ -3351,7 +3351,7 @@ def __PYTHON_EL_native_completion_setup():
3351 if not completion: 3351 if not completion:
3352 if self.last_completion != '1__dummy_completion__': 3352 if self.last_completion != '1__dummy_completion__':
3353 # When no more completions are available, returning a 3353 # When no more completions are available, returning a
3354 # dummy with non-sharing prefix allow to ensure output 3354 # dummy with non-sharing prefix allow ensuring output
3355 # while preventing changes to current input. 3355 # while preventing changes to current input.
3356 # Coincidentally it's also the end of output. 3356 # Coincidentally it's also the end of output.
3357 completion = '1__dummy_completion__' 3357 completion = '1__dummy_completion__'