Files
openide/python/testData/quickdoc/FunctionWrapping.py
Mikhail Golubev 9e118e01a9 PY-30103 Add wrapping for long function signatures
Similarly to how it's done for Java and other languages parameters are
wrapped and aligned always if there are more than one of them. Also, the
need to wrap the return type annotation is detected naively by checking
whether the length of the last line containing it exceeds 80 characters.
2018-06-09 15:59:38 +03:00

4 lines
179 B
Python

from typing import Optional
def maybe<the_ref>_add_numbers(a: Optional[int], b: Optional[int], c: Optional[int],
d: Optional[int]) -> Optional[int]:
pass