summaryrefslogtreecommitdiff
path: root/testsuite/E21.py
blob: 44516e6b931b0033b7c50b88e48b43ce8eda92ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#: E211
spam (1)
#: E211 E211
dict ['key'] = list [index]
#: E211
dict['key'] ['subkey'] = list[index]
#: Okay
spam(1)
dict['key'] = list[index]
#: E211
print ('abc')
#: Okay
print('abc')
#: Okay
from __future__ import print_function
print ('abc')


# This is not prohibited by PEP8, but avoid it.
class Foo (Bar, Baz):
    pass