A FilePath-like object which can be opened to create a _ReadFile with certain contents.

Method __init__
Method open If the mode is r+, return a _ReadFile with the contents given to this path's initializer.
def __init__(self, contents):
Parameterscontentsbytes which will be the contents of the _ReadFile this path can open.
def open(self, mode):

If the mode is r+, return a _ReadFile with the contents given to this path's initializer.

ReturnsA _ReadFile instance
RaisesOSErrorIf the mode is unsupported.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.