PyDocs

Nav

Development Tools

print_warning

test.support

function · Added in 3.9
  • print_warning(msg)
Print a warning into sys.__stderr__. Format the message as: f"Warning -- {msg}". If msg is made of multiple lines, add "Warning -- " prefix to each line.
0 Examples
No examples for test.support/print_warning.
See Also
No see-alsos for test.support/print_warning
0 Notes
No notes for print_warning