Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python mark function as no return

from typing import NoReturn

def stop() -> NoReturn:
    raise RuntimeError('no way')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #mark #function #return
ADD COMMENT
Topic
Name
7+2 =