Debian Codegraph @

tests/fixtures/parsing/restructured_text/docstring_attributes_section.py

raw
1 """
2 Let's describe some attributes.
3
4 :var A: Alpha.
5 :var B: Beta.
6 :vartype B: bytes
7 :var C: Gamma.
8 :var D: Delta.
9 :var E: Epsilon.
10 :vartype E: float
11 """
12
13 A: int = 0
14 B: str = "ŧ"
15 C: bool = True
16 D = 3.0
17 E = None