diff options
author | Vasudev Kamath <vasudev@copyninja.info> | 2017-08-20 10:19:39 +0530 |
---|---|---|
committer | Vasudev Kamath <vasudev@copyninja.info> | 2017-12-23 20:47:45 +0530 |
commit | 85fc24725261521fd794cf0b9cdbd941f536f1de (patch) | |
tree | ee5903319569c3df6df8243efa13372454c44d9c /content | |
parent | dfc3da83de3802f6c67313d238e459e0db780451 (diff) |
Wrap paragraph to 80 characters.
Diffstat (limited to 'content')
-rw-r--r-- | content/development/udp_server_as_iterator.rst | 4 |
1 files changed, 3 insertions, 1 deletions
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 |