mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-06 08:00:18 +07:00
- fix missing return type when last statement is a return statement - add/adjust tests - add missing null annotations GitOrigin-RevId: 1208d9192b44ac5deed09be99f206d0c4027d47a
8 lines
164 B
Python
8 lines
164 B
Python
class C:
|
|
def do(self, param: int) -> int:
|
|
<caret>return self.body(param)
|
|
|
|
def body(self, param_new):
|
|
val = param_new * 2
|
|
return val
|