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 (type: bool)
Instance Variable write Whether permission to write is given (type: bool)
Instance Variable execute Whether permission to execute is given (type: bool)
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 =
Whether permission to read is given (type: bool)
write =
Whether permission to write is given (type: bool)
execute =
Whether permission to execute is given (type: bool)
def __init__(self, readable, writable, executable): (source)
Undocumented
def __repr__(self): (source)
Undocumented
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 at 2019-11-11 15:02:42.