Show a warning¶
PyA exception classes may also be used to show warnings. To to do, call the warn function.
- PyAstronomy.pyaC.pyaErrors.warn(w)¶
- Parameters:
- 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.