pygsti.tools.legacytools.warn_deprecated

pygsti.tools.legacytools.warn_deprecated#

warn_deprecated(name, replacement=None)#

Formats and prints a deprecation warning message.

Parameters:
  • name (str) – The name of the function that is now deprecated.

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

Return type:

None