Closed tonybaloney closed 3 years ago
The NoReturn annotation means that the program will exit, but its being used in place of None, which is what you should use if the function doesn't return a value.
NoReturn
None
The
NoReturn
annotation means that the program will exit, but its being used in place ofNone
, which is what you should use if the function doesn't return a value.