class documentation

class twisted.python.filepath.RWX(FancyEqMixin): (source)

View In Hierarchy

A class representing read/write/execute permissions for a single user category (i.e. user/owner, group, or other/world). Instantiate with three boolean values: readable? writable? executable?.

Present Since11.1
Instance Variable read Whether permission to read is given
Instance Variable write Whether permission to write is given
Instance Variable execute Whether permission to execute is given
Class Variable compareAttributes Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method shorthand Returns a short string representing the permission bits. Looks like part of what is printed by command line utilities such as 'ls -l' (e.g. 'rwx')

Inherited from FancyEqMixin:

Method __eq__ Undocumented
Method __ne__ Undocumented
read = (source)
Whether permission to read is given
(type: bool)
write = (source)
Whether permission to write is given
(type: bool)
execute = (source)
Whether permission to execute is given
(type: bool)
compareAttributes = (source)

Undocumented

(type: tuple[str, ...])
def __init__(self, readable, writable, executable): (source)

Undocumented

def __repr__(self): (source)

Undocumented

ReturnsUndocumented (type: str)
def shorthand(self): (source)

Returns a short string representing the permission bits. Looks like part of what is printed by command line utilities such as 'ls -l' (e.g. 'rwx')

ReturnsThe shorthand string. (type: str)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.