mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Reindent code
This commit is contained in:
parent
58aa6f70a1
commit
98c048041d
1 changed files with 30 additions and 28 deletions
|
|
@ -213,9 +213,11 @@ Assuming you don't want to end the connection, the simplest solution
|
|||
is a fixed length message:
|
||||
|
||||
\begin{verbatim}
|
||||
class mysocket:
|
||||
class mysocket:
|
||||
'''demonstration class only
|
||||
- coded for clarity, not efficiency'''
|
||||
- coded for clarity, not efficiency
|
||||
'''
|
||||
|
||||
def __init__(self, sock=None):
|
||||
if sock is None:
|
||||
self.sock = socket.socket(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue