File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ async def print_debug(loop):
95
95
while True :
96
96
print (chr (27 ) + "[2J" ) # clear screen
97
97
loop .print_debug_info ()
98
- await asyncio .sleep (0.5 , loop = loop )
98
+ await asyncio .sleep (0.5 )
99
99
100
100
101
101
if __name__ == '__main__' :
@@ -168,11 +168,11 @@ async def print_debug(loop):
168
168
print ('using asyncio/streams' )
169
169
if unix :
170
170
coro = asyncio .start_unix_server (echo_client_streams ,
171
- addr , loop = loop ,
171
+ addr ,
172
172
ssl = server_context )
173
173
else :
174
174
coro = asyncio .start_server (echo_client_streams ,
175
- * addr , loop = loop ,
175
+ * addr ,
176
176
ssl = server_context )
177
177
srv = loop .run_until_complete (coro )
178
178
elif args .proto :
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ async def print_debug(loop):
31
31
while True :
32
32
print (chr (27 ) + "[2J" ) # clear screen
33
33
loop .print_debug_info ()
34
- await asyncio .sleep (0.5 , loop = loop )
34
+ await asyncio .sleep (0.5 )
35
35
36
36
37
37
if __name__ == '__main__' :
@@ -76,10 +76,10 @@ async def print_debug(loop):
76
76
print ('using asyncio/streams' )
77
77
if unix :
78
78
coro = asyncio .start_unix_server (echo_client_streams ,
79
- addr , loop = loop , limit = 256000 )
79
+ addr , limit = 256000 )
80
80
else :
81
81
coro = asyncio .start_server (echo_client_streams ,
82
- * addr , loop = loop , limit = 256000 )
82
+ * addr , limit = 256000 )
83
83
srv = loop .run_until_complete (coro )
84
84
85
85
try :
You can’t perform that action at this time.
0 commit comments