b.s.DeprecatedDict(dict) : class documentation

Part of bzrlib.symbol_versioning View In Hierarchy

A dictionary that complains when read or written.
Method __init__ Create a dict that warns when read or modified.
def __init__(self, deprecation_version, variable_name, initial_value, advice):
Create a dict that warns when read or modified.
Parametersdeprecation_versionstring for the warning format to raise, typically from deprecated_in()
initial_valueThe contents of the dict
variable_nameThis allows better warnings to be printed
adviceString of advice on what callers should do instead of using this variable.
API Documentation for Bazaar, generated by pydoctor at 2020-08-04 00:50:18.