python-imenu-create-index

python-imenu-create-index is a compiled Lisp function in `python.el'.

(python-imenu-create-index)

Return tree Imenu alist for the current Python buffer.
Change `python-imenu-format-item-label-function',
`python-imenu-format-parent-item-label-function',
`python-imenu-format-parent-item-jump-label-function' to
customize how labels are formatted.