class documentation

class _PTYPath: (source)

View In Hierarchy

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

Method __init__ No summary
Method open If the mode is r+, return a _ReadFile with the contents given to this path's initializer.
Instance Variable contents Undocumented
def __init__(self, contents): (source)
Parameters
contentsbytes which will be the contents of the _ReadFile this path can open.
def open(self, mode): (source)

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

Returns
A _ReadFile instance
Raises
OSErrorIf the mode is unsupported.
contents = (source)

Undocumented