Options and settings#

API for configuring global behavior. See the User Guide for more.

Working with options#

reset_option(key)

Reset one option to their default value.

get_option(key[, default])

Retrieves the value of the specified option.

set_option(key, value)

Sets the value of the specified option.

option_context(*args)

Context manager to temporarily set options in the with statement context.