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

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

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


From: Daniel Martín
Subject: bug#59968: [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


reply via email to

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