pygsti.tools.legacytools.deprecate

Contents

pygsti.tools.legacytools.deprecate#

deprecate(replacement=None)#

Decorator for deprecating a function.

Parameters:

replacement (str, optional) – the name of the function that should replace it.

Return type:

function