Suppress Python warnings for an expression

py_suppress_warnings(expr)

Arguments

expr

Expression to suppress warnings for

Value

Result of evaluating expression