Files
openide/python/testData/multipleArgumentsCompletion/overloads.py
andrey.matveev a350ff045f PY-46668 Impl multiple arguments completion contributor
(cherry picked from commit 42efe6a20f52cfb3bd827a2b68d1fb6cc3949626)

IJ-MR-5791

GitOrigin-RevId: e2a40572b0de4919a5049ff06e437b34d78c296c
2021-02-15 13:29:14 +00:00

24 lines
263 B
Python

from typing import overload, Any
@overload
def bar(a: int, b: int) -> None:
...
@overload
def bar(c: str, d: str) -> None:
...
def bar(*args: Any, **kwargs: Any) -> None:
...
def foo():
a = 1
b = 2
c = 3
d = 4
bar(<caret>)