Fix double colons typos in code (#567)

This commit is contained in:
Dmitry Alimov 2018-02-01 20:58:43 +03:00 committed by Chris Angelico
parent e81102e62e
commit d084110591
1 changed files with 2 additions and 2 deletions

View File

@ -420,7 +420,7 @@ Examples
destination.send(page)
@consumer
def jpeg_writer(dirname)::
def jpeg_writer(dirname):
fileno = 1
while True:
filename = os.path.join(dirname,"page%04d.jpg" % fileno)
@ -475,7 +475,7 @@ Examples
result = None
self.running = True
try:
while self.running and self.queue::
while self.running and self.queue:
func = self.queue.popleft()
result = func()
return result