_Configuration.doc
- _Configuration.doc(section, option)
Give the type and the one-line documentation declared for section.option in defaults.
- Parameters:
section (
str) – The section.option (
str) – The property.
- Returns:
The metadata as
type :: documentation(deprecated -> section.key :: documentationfor a deprecated key,deprecated type :: documentationfor one without replacement).- Return type:
str- Raises:
SyntaxError – If the section name or the property name does not exist.
Example
import pyagrum as gum
gum.config.doc("tensor", "visibleDigits")
# 'int[0,] :: number of visible digits when displaying a tensor in a notebook'
Class