ast-tuple

Published at 2024-01-15
Last update over 365 days ago Licensed under CC BY-NC-SA 4.0 langspython

usage:

def f() -> ast.Tuple(int, int):

For python like 3.7, consider from typing import Tuple. For higher versions, of course you can use tuple[] very well.