diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 38dcc823d06..8e7d9f23b0e 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -2231,7 +2231,7 @@ Do not set this variable directly, instead use (defvar python-shell--prompt-calculated-output-regexp nil "Calculated output prompt regexp for inferior python shell. Do not set this variable directly, instead use -`python-shell-set-prompt-regexp'.") +`python-shell-prompt-set-calculated-regexps'.") (defun python-shell-prompt-detect () "Detect prompts for the current `python-shell-interpreter'.