Name
push
Synopsis
x
.push(data
)
Your class X
normally
doesn’t override this method. The implementation in
base class async_chat
adds string
data
to an output buffer that it sends as
appropriate. Method push
is therefore quite
similar to method send
of class
asyncore.dispatcher_with_send
, but method
push
has a more sophisticated implementation to
ensure good performance in more cases.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.