Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
smtplib.SSLFakeFile Class Reference

List of all members.

Public Member Functions

def __init__
def readline
def close

Public Attributes

 sslobj

Detailed Description

A fake file like object that really wraps a SSLObject.

It only supports what is needed in smtplib.

Definition at line 183 of file smtplib.py.


Constructor & Destructor Documentation

def smtplib.SSLFakeFile.__init__ (   self,
  sslobj 
)

Definition at line 188 of file smtplib.py.

00188 
00189         def __init__(self, sslobj):
00190             self.sslobj = sslobj

Here is the caller graph for this function:


Member Function Documentation

def smtplib.SSLFakeFile.close (   self)

Definition at line 201 of file smtplib.py.

00201 
00202         def close(self):
00203             pass
00204 
    _have_ssl = True

Here is the caller graph for this function:

Definition at line 191 of file smtplib.py.

00191 
00192         def readline(self):
00193             str = b""
00194             chr = None
00195             while chr != b"\n":
00196                 chr = self.sslobj.read(1)
00197                 if not chr:
00198                     break
00199                 str += chr
00200             return str

Here is the caller graph for this function:


Member Data Documentation

Definition at line 189 of file smtplib.py.


The documentation for this class was generated from the following file: