We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e2c64 commit a64bb39Copy full SHA for a64bb39
1 file changed
symbols/call.py
@@ -9,6 +9,8 @@
9
# the GNU General License
10
# ----------------------------------------------------------------------
11
12
+from typing import Iterable
13
+
14
import api.global_ as gl
15
from api.check import check_call_arguments
16
from api.constants import CLASS
@@ -33,7 +35,7 @@ class SymbolCALL(Symbol):
33
35
lineno: source code line where this call was made
34
36
"""
37
- def __init__(self, entry: SymbolFUNCTION, arglist, lineno):
38
+ def __init__(self, entry: SymbolFUNCTION, arglist: Iterable[SymbolARGUMENT], lineno: int):
39
super(SymbolCALL, self).__init__()
40
assert isinstance(lineno, int)
41
assert all(isinstance(x, SymbolARGUMENT) for x in arglist)
0 commit comments