twisted.conch.test.test_knownhosts.FakeFile(object)
class documentationtwisted.conch.test.test_knownhosts
(View In Hierarchy)
A fake file-like object that acts enough like a file for ConsoleUI.prompt
.
Method | __init__ | Undocumented |
Method | readline | Return a line from the 'inlines' list. |
Method | write | Append the given item to the 'outchunks' list. |
Method | close | Set the 'closed' flag to True, explicitly marking that it has been closed. |