Kaydet (Commit) 98c04804 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Reindent code

üst 58aa6f70
...@@ -213,9 +213,11 @@ Assuming you don't want to end the connection, the simplest solution ...@@ -213,9 +213,11 @@ Assuming you don't want to end the connection, the simplest solution
is a fixed length message: is a fixed length message:
\begin{verbatim} \begin{verbatim}
class mysocket: class mysocket:
'''demonstration class only '''demonstration class only
- coded for clarity, not efficiency''' - coded for clarity, not efficiency
'''
def __init__(self, sock=None): def __init__(self, sock=None):
if sock is None: if sock is None:
self.sock = socket.socket( self.sock = socket.socket(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment