Skip to content

Commit 10c54d4

Browse files
committed
Fix the comment for stream.writelines
1 parent a62541a commit 10c54d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

uvloop/handles/stream.pyx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ cdef class UVStream(UVBaseTransport):
362362
# (and thus allocating more memory).
363363
# On the other hand, uvloop would behave differently from
364364
# asyncio: where asyncio does one send op, uvloop would do
365-
# many send ops. If the program uses TCP_NODELAY sock opt,
365+
# many send ops. If the program doesn't use the TCP_NODELAY
366+
# sock opt (and by default asyncio programs do not set it),
366367
# this different behavior may result in uvloop being slower
367368
# than asyncio.
368369
self.write(b''.join(bufs))

0 commit comments

Comments
 (0)