Package epydoc :: Package markup :: Class Field
[hide private]
[frames] | no frames]

Class Field
source code

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: Tags are automatically downcased and stripped; and arguments are automatically stripped.

Instance Methods [hide private]
  __init__(self, tag, arg, body)
string tag(self)
string or None arg(self)
ParsedDocstring body(self)
  __repr__(self)

Method Details [hide private]

__init__(self, tag, arg, body)
(Constructor)

source code 

tag(self)

source code 
Returns: string
This field's tag.

arg(self)

source code 
Returns: string or None
This field's argument, or None if this field has no argument.

body(self)

source code 
Returns: ParsedDocstring
This field's body.

__repr__(self)
(Representation operator)

source code