diff options
author | root <none@none> | 2006-04-26 10:48:09 +0000 |
---|---|---|
committer | root <none@none> | 2006-04-26 10:48:09 +0000 |
commit | 4becf6f9e596b45401680c4947e2d92c953d5e08 (patch) | |
tree | 3bb03a16daa8c780bf60c622dc288eb01cfca145 /test/input/func_unreachable.py | |
download | pylint-git-4becf6f9e596b45401680c4947e2d92c953d5e08.tar.gz |
forget the past.
forget the past.
Diffstat (limited to 'test/input/func_unreachable.py')
-rw-r--r-- | test/input/func_unreachable.py | 22 |
1 files changed, 22 insertions, 0 deletions
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' + |