Function: semantic-ctxt-current-function-python-mode

semantic-ctxt-current-function-python-mode is a byte-compiled function defined in python.el.gz.

Signature

(semantic-ctxt-current-function-python-mode &optional POINT)

Documentation

Return the current function call the cursor is in at POINT.

The function returned is the one accepting the arguments that the cursor is currently in. It will not return function symbol if the cursor is on the text representing that function. Override semantic-ctxt-current-function in python-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/python.el.gz
;; Override ctxt-current-function/assignment defaults, since they do
;; not work properly with Python code, even leading to endless loops
;; (see bug #xxxxx).
(define-mode-local-override semantic-ctxt-current-function python-mode (&optional _point)
  "Return the current function call the cursor is in at POINT.
The function returned is the one accepting the arguments that
the cursor is currently in.  It will not return function symbol if the
cursor is on the text representing that function."
  nil)