summaryrefslogtreecommitdiff
path: root/third_party/pep8/testsuite/E11.py
blob: 4ed1096334aab81280e4f349ea558a14446b6817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#: E111
if x > 2:
  print x
#: E111
if True:
     print
#: E112
if False:
print
#: E113
print
    print
#: E114 E116
mimetype = 'application/x-directory'
     # 'httpd/unix-directory'
create_date = False
#: E116 E116 E116
def start(self):
    if True:
        self.master.start()
        # try:
            # self.master.start()
        # except MasterExit:
            # self.shutdown()
        # finally:
            # sys.exit()
#: E115 E115 E115 E115 E115 E115
def start(self):
    if True:
#       try:
#           self.master.start()
#       except MasterExit:
#           self.shutdown()
#       finally:
#           sys.exit()
        self.master.start()