mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
(cherry picked from commit 42efe6a20f52cfb3bd827a2b68d1fb6cc3949626) IJ-MR-5791 GitOrigin-RevId: e2a40572b0de4919a5049ff06e437b34d78c296c
24 lines
263 B
Python
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>) |