Show a warning

PyA exception classes may also be used to show warnings. To to do, call the warn function.

  • w - Something which can be converted into a string.

    This may especially be a PyA exception, which is treated as a warning here.

Warnings are printed to stdout.