File: docstring_attributes_section.py

package info (click to toggle)
pytkdocs 0.16.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 784 kB
  • sloc: python: 4,621; makefile: 28; javascript: 13
file content (16 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
Let's describe some attributes.

Attributes:
    A: Alpha.
    B (bytes): Beta.
    C: Gamma.
    D: Delta.
    E (float): Epsilon.
"""

A: int = 0
B: str = "ลง"
C: bool = True
D = 3.0
E = None