1# mode: run 2# tag: syntax 3 4""" 5>>> y # doctest: +ELLIPSIS 6Traceback (most recent call last): 7NameError: ...name 'y' is not defined 8>>> z # doctest: +ELLIPSIS 9Traceback (most recent call last): 10NameError: ...name 'z' is not defined 11>>> f() 1217 13""" 14 15x = False 16 17if x: y = 42; z = 88 18def f(): return 17 19 20 21def suite_in_func(x): 22 """ 23 >>> suite_in_func(True) 24 (42, 88) 25 >>> suite_in_func(False) 26 (0, 0) 27 """ 28 y = z = 0 29 if x: y = 42; z = 88 30 return y, z 31