From 85fc24725261521fd794cf0b9cdbd941f536f1de Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 20 Aug 2017 10:19:39 +0530 Subject: Wrap paragraph to 80 characters. --- content/development/udp_server_as_iterator.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'content/development') diff --git a/content/development/udp_server_as_iterator.rst b/content/development/udp_server_as_iterator.rst index 171e3bd..b62310f 100644 --- a/content/development/udp_server_as_iterator.rst +++ b/content/development/udp_server_as_iterator.rst @@ -141,7 +141,9 @@ Update I got a suggestion from *Ryan Nowakowski* to make the server object as `context manager` and close the socket in `__exit__` as it can't be guaranteed that -`__del__` will be called for objects which exists during interpreter exits. So I slightly modified the class to add `__enter__` and `__exit__` method like below and removed `__del__` +`__del__` will be called for objects which exists during interpreter exits. So I +slightly modified the class to add `__enter__` and `__exit__` method like below +and removed `__del__` .. code-block:: python -- cgit v1.2.3