Commit 6233a838 authored by Denis Bilenko's avatar Denis Bilenko

add a comment in docstring

parent 1c036d1c
......@@ -358,9 +358,11 @@ class GreenSSL(GreenSocket):
except SSL.Error, ex:
raise sslerror(str(ex))
# NOTE: read() in SSLObject does not have the semantics of file.read
# reading here until we have buflen bytes or hit EOF is an error
def read(self, buflen=1024):
"""
NOTE: read() in SSLObject does not have the semantics of file.read
reading here until we have buflen bytes or hit EOF is an error
"""
return self.recv(buflen)
def write(self, data):
......
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