Files
openide/python/testData/inspections/PyArgumentListInspection/dictFromKeys.py
Semyon Proshev d79f13cf5a Provide generic type for self or cls
As a result, class-wide type variables will not be substituted inside methods.

GitOrigin-RevId: 8f341042f4944f61e212cf226b4736e9eb26ba8d
2020-06-18 00:28:18 +03:00

3 lines
271 B
Python

print(dict.fromkeys(<warning descr="Parameter(s) unfilledPossible callees:dict.fromkeys(cls: Type[Dict[_KT, _VT]], __iterable: Iterable[_T])dict.fromkeys(cls: Type[Dict[_KT, _VT]], __iterable: Iterable[_T], __value: _S)">)</warning>)
print(dict.fromkeys(['foo', 'bar']))