From 4becf6f9e596b45401680c4947e2d92c953d5e08 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Apr 2006 10:48:09 +0000 Subject: forget the past. forget the past. --- test/input/func_unreachable.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 test/input/func_unreachable.py (limited to 'test/input/func_unreachable.py') diff --git a/test/input/func_unreachable.py b/test/input/func_unreachable.py new file mode 100644 index 000000000..1cabce718 --- /dev/null +++ b/test/input/func_unreachable.py @@ -0,0 +1,22 @@ +"""docstring""" + +__revision__ = '' + +def func1(): + """docstring""" + return 1 + print 'unreachable' + +def func2(): + """docstring""" + while 1: + break + print 'unreachable' + +def func3(): + """docstring""" + for i in (1, 2, 3): + print i + continue + print 'unreachable' + -- cgit v1.2.1