Skip to content

Commit

Permalink
fix: change args type in FunctionCall class (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
apkrelling authored Nov 15, 2024
1 parent 18a0e2f commit 89feb55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/astx/callables.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations

from typing import Any, Optional, cast
from typing import Any, Iterable, Optional, cast

from public import public
from typeguard import typechecked
Expand Down Expand Up @@ -96,12 +96,12 @@ class FunctionCall(DataType):
"""AST class for function call."""

fn: Function
args: tuple[DataType, ...]
args: Iterable[DataType]

def __init__(
self,
fn: Function,
args: tuple[DataType, ...],
args: Iterable[DataType],
loc: SourceLocation = NO_SOURCE_LOCATION,
parent: Optional[ASTNodes] = None,
) -> None:
Expand Down

0 comments on commit 89feb55

Please sign in to comment.