python-fhs
Python module for using the FHS and XDG basedir paths.
Loading...
Searching...
No Matches

◆ decode_value()

fhs.decode_value (   value,
  argtype 
)

Parse a string value into its proper type.

This function has special handling for some types and supports returning None.

Parameters
valuestring such as stored in the config file.
argtypetype or converter function to make it the required type.

Definition at line 288 of file fhs.py.

Here is the caller graph for this function: