71if __name__ == '__main__':
72 node = Node(1, '127.0.0.1', 9001)
73 try:
74 while True:75 pass
76 except KeyboardInterrupt:
77 node.stop()
In most cases, an empty body of for
, while
or if
implies some piece of code is missing.
Such empty block must be either filled or removed.
for i in range(10):
pass
for i in range(10):
print(i)