You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of a *args argument is a list (a leftover from Alore), even though it is actually a tuple (i.e. a Sequence until we add support for TupleSequence). For example, this program is accepted even though it fails at runtime:
def f(*x: int) -> None:
x.append(1) # Ouch
f(1)
The text was updated successfully, but these errors were encountered:
The type of a *args argument is a list (a leftover from Alore), even though it is actually a tuple (i.e. a Sequence until we add support for TupleSequence). For example, this program is accepted even though it fails at runtime:
The text was updated successfully, but these errors were encountered: