Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Side by Side Diff: third_party/tlslite/tlslite/fileobject.py

Issue 211173006: Perform tlslite 0.3.8 -> 0.4.6 renames ahead of time. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Drop the -B Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 """Class returned by TLSConnection.makefile().""" 1 """Class returned by TLSConnection.makefile()."""
2 2
3 class FileObject: 3 class FileObject:
4 """This class provides a file object interface to a 4 """This class provides a file object interface to a
5 L{tlslite.TLSConnection.TLSConnection}. 5 L{tlslite.TLSConnection.TLSConnection}.
6 6
7 Call makefile() on a TLSConnection to create a FileObject instance. 7 Call makefile() on a TLSConnection to create a FileObject instance.
8 8
9 This class was copied, with minor modifications, from the 9 This class was copied, with minor modifications, from the
10 _fileobject class in socket.py. Note that fileno() is not 10 _fileobject class in socket.py. Note that fileno() is not
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 # Iterator protocols 211 # Iterator protocols
212 212
213 def __iter__(self): 213 def __iter__(self):
214 return self 214 return self
215 215
216 def next(self): 216 def next(self):
217 line = self.readline() 217 line = self.readline()
218 if not line: 218 if not line:
219 raise StopIteration 219 raise StopIteration
220 return line 220 return line
OLDNEW
« no previous file with comments | « third_party/tlslite/tlslite/checker.py ('k') | third_party/tlslite/tlslite/handshakesettings.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698