emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59968: closed ([PATCH] Add "->" to python--treesit-operators)


From: GNU bug Tracking System
Subject: bug#59968: closed ([PATCH] Add "->" to python--treesit-operators)
Date: Wed, 14 Dec 2022 01:54:03 +0000

Your message dated Tue, 13 Dec 2022 17:53:50 -0800
with message-id <771EB972-BE70-48CA-8B1C-0738671BADDA@gmail.com>
and subject line Re: bug#59968: [PATCH] Add "->" to python--treesit-operators
has caused the debbugs.gnu.org bug report #59968,
regarding [PATCH] Add "->" to python--treesit-operators
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
59968: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59968
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Add "->" to python--treesit-operators Date: Sun, 11 Dec 2022 17:37:20 +0100
Tags: patch


Python has a "->" operator to specify the return type of functions.
For example:

def add(a: int, b: int) -> int:
    return a + b

The following patch adds support for it in python-ts-mode.

Attachment: 0001-Add-to-python-treesit-operators.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#59968: [PATCH] Add "->" to python--treesit-operators Date: Tue, 13 Dec 2022 17:53:50 -0800
Daniel Martín <mardani29@yahoo.es> writes:

> Tags: patch
>
>
> Python has a "->" operator to specify the return type of functions.
> For example:
>
> def add(a: int, b: int) -> int:
>     return a + b
>
> The following patch adds support for it in python-ts-mode.

Applied, thanks!

Yuan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]