Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ext_napoleon_pep526_data_google.py « tests - github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e9a00b72cf365b0fc553efe6448724c174b68d0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Test module for napoleon PEP 526 compatibility with google style
"""

module_level_var: int = 99
"""This is an example module level variable"""


class PEP526GoogleClass:
    """Sample class with PEP 526 annotations and google docstring

    Attributes:
        attr1: Attr1 description.
        attr2: Attr2 description.
    """

    attr1: int
    attr2: str