summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_with_without_as_py25.py
blob: 7ecf574a77b094412f1c48986735150875928c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'''This is a little non regression test on a with statement
without 'as'.
'''
from __future__ import with_statement, print_function
__revision__ = 32321313

def do_nothing(arg):
    'ho foo'
    print(arg)
    with open('x'):
        base.baz
        base = 7