class documentation

class FakeFile:

View In Hierarchy

A fake file-like object that acts enough like a file for ConsoleUI.prompt.

Method __init__ Undocumented
Method close Set the 'closed' flag to True, explicitly marking that it has been closed.
Method readline Return a line from the 'inlines' list.
Method write Append the given item to the 'outchunks' list.
Instance Variable closed Undocumented
Instance Variable inlines Undocumented
Instance Variable outchunks Undocumented
def __init__(self):

Undocumented

def close(self):

Set the 'closed' flag to True, explicitly marking that it has been closed.

def readline(self):

Return a line from the 'inlines' list.

def write(self, chunk):

Append the given item to the 'outchunks' list.

closed: bool =

Undocumented

inlines: list =

Undocumented

outchunks: list =

Undocumented