parameters: ()
docstring: Temporarily silence deprecation warnings.
docstring_summary: Temporarily silence deprecation warnings.
docstring_tokens: Temporarily silence deprecation warnings .
function: def silence():
    """Temporarily silence deprecation warnings."""
    global _PRINT_DEPRECATION_WARNINGS
    print_deprecation_warnings = _PRINT_DEPRECATION_WARNINGS
    _PRINT_DEPRECATION_WARNINGS = False
    yield
    _PRINT_DEPRECATION_WARNINGS = print_deprecation_warnings
function_tokens: def silence ( ) : global _PRINT_DEPRECATION_WARNINGS print_deprecation_warnings = _PRINT_DEPRECATION_WARNINGS _PRINT_DEPRECATION_WARNINGS = False yield _PRINT_DEPRECATION_WARNINGS = print_deprecation_warnings