python-imenu-create-flat-index
python-imenu-create-flat-index is a compiled Lisp function in `python.el
'.
(python-imenu-create-flat-index &optional ALIST PREFIX)
Return flat outline of the current Python buffer for Imenu.
Optional argument ALIST is the tree to be flattened; when nil
`python-imenu-build-index' is used with
`python-imenu-format-parent-item-jump-label-function'
`python-imenu-format-parent-item-label-function'
`python-imenu-format-item-label-function' set to
(lambda (type name) name)
Optional argument PREFIX is used in recursive calls and should
not be passed explicitly.
Converts this:
(("Foo" . 103)
("Bar" . 138)
("decorator"
("decorator" . 173)
("wrap"
("wrap" . 353)
("wrapped_f" . 393))))
To this:
(("Foo" . 103)
("Bar" . 138)
("decorator" . 173)
("decorator.wrap" . 353)
("decorator.wrapped_f" . 393))