Get Attribute

Description

Allows to access attributes from the object. get("foo") will try to return self._foo if it exists.

Usage

Config.get(what)

Arguments

whatstr
Name of the attribute (without leading underscore).

Return

Whatever is stored on the attribute.

Raises

  • TypeError: If argument what is not str.
  • ValueError: If the argument _{what} does not exist.