def shutdown_write(self):
self.shutdown(<NUM_LIT:1>)<EOL>
Shutdown the sending side of this socket, closing the stream in
the outgoing direction.  After this call, future writes on this
channel will fail instantly.  This is a convenience method, equivalent
to ``shutdown(1)``, for people who don't make it a habit to
memorize unix constants from the 1970s.

.. versionadded:: 1.2