class documentation
class Field: (source)
The contents of a docstring's field. Docstring fields are used to describe specific aspects of an object, such as a parameter of a function or the author of a module. Each field consists of a tag, an optional argument, and a body:
- The tag specifies the type of information that the field encodes.
- The argument specifies the object that the field describes. The argument may be None or a string.
- The body contains the field's information.
Tags are automatically downcased and stripped; and arguments are automatically stripped.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | arg |
No summary |
Method | body |
No summary |
Method | tag |
No summary |
Instance Variable | lineno |
Undocumented |
Instance Variable | _arg |
Undocumented |
Instance Variable | _body |
Undocumented |
Instance Variable | _tag |
Undocumented |
Undocumented
Parameters | |
tag:str | Undocumented |
arg:Optional[ | Undocumented |
body:ParsedDocstring | Undocumented |
lineno:int | Undocumented |