[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59968: [PATCH] Add "->" to python--treesit-operators
From: |
Yuan Fu |
Subject: |
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