| 1 |
from __future__ import annotations |
| 2 |
|
| 3 |
attr: int | str #: docstring |
| 4 |
|
| 5 |
|
| 6 |
def sum(x: int | str, y: int | str) -> int | str: |
| 7 |
"""docstring""" |
| 8 |
|
| 9 |
|
| 10 |
class Foo: |
| 11 |
"""docstring""" |
| 12 |
|
| 13 |
attr: int | str #: docstring |
| 14 |
|
| 15 |
def meth(self, x: int | str, y: int | str) -> int | str: |
| 16 |
"""docstring""" |