Module escapeddict
[hide private]
[frames] | no frames]

Module escapeddict

source code

This class enables developer to use ${xxx} pattern in their dict and get them replaced recursively.

Classes [hide private]
  _CustomArray
Internal class
  EscapedDict
Implements a dictionary that escapes the key values recursively.
Functions [hide private]
 
escapeString(input_string, config)
Escape a string recursively.
source code
Function Details [hide private]

escapeString(input_string, config)

source code 
Escape a string recursively.
Parameters:
  • input_string - the string to be escaped.
  • config - a dictionnary containing the values to escape.
Returns:
the escaped string.