Subject: Re: bug#24820: Imenu in `python-mode' does not display function name for async def

From: [email-masked]
Date: Thu, 05 Jan 2017 20:19:15 -0500

Dmitry Lazurkin <[email-masked]> writes:

> On 01/05/2017 07:07 AM, [email-masked] wrote:
>>> (is formatting code ugly?)
>> I don't see any formatting problems in your code,
>
> Formatting of "async def":
> +        (list (concat (car split) " " (cadr split))
> +              (car (last split)))))))

Formatting looks fine here.  Since I'm staring at it anyway, it could be
optimized like so:

    (cons (concat (car split) " " (cadr split))
          (last split))

It's fine either way though.