Files
Marcus Mewsandintellij-monorepo-bot 3845457c62 PY-83001 Extract method with type hints lacks return type sometimes
- fix missing return type when last statement is a return statement
- add/adjust tests
- add missing null annotations

GitOrigin-RevId: 1208d9192b44ac5deed09be99f206d0c4027d47a
2025-08-05 21:40:50 +00:00

5 lines
112 B
Python

class C:
def do(self, param: int) -> int:
<selection>val = param * 2
return val</selection>