Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

unreachable.py 413B

12345678910111213141516171819202122
  1. # pylint: disable=missing-docstring
  2. from __future__ import print_function
  3. def func1():
  4. return 1
  5. print('unreachable') # [unreachable]
  6. def func2():
  7. while 1:
  8. break
  9. print('unreachable') # [unreachable]
  10. def func3():
  11. for i in (1, 2, 3):
  12. print(i)
  13. continue
  14. print('unreachable') # [unreachable]
  15. def func4():
  16. raise Exception
  17. return 1 / 0 # [unreachable]