Python: module gdata.tlslite.FileObject

gdata.tlslite.FileObject | index /usr/local/lib/python2.6/dist-packages/gdata/tlslite/FileObject.py

`Class returned by TLSConnection.makefile().`

Classes
`` |  | FileObject
class FileObject
`` | `This class provides a file object interface to a L{tlslite.TLSConnection.TLSConnection}. Call makefile() on a TLSConnection to create a FileObject instance. This class was copied, with minor modifications, from the _fileobject class in socket.py. Note that fileno() is not implemented.`
| Methods defined here: __del__(self) __init__(self, sock, mode='rb', bufsize=-1) __iter__(self) close(self) flush(self) next(self) read(self, size=-1) readline(self, size=-1) readlines(self, sizehint=0) write(self, data) writelines(self, list) Data descriptors defined here: closed `True if the file is closed` Data and other attributes defined here: default_bufsize = 16384