twisted.python.filepath.RWX(FancyEqMixin, object) class documentationtwisted.python.filepath
(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 Since | 11.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 | 
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')
| Returns | The shorthand string. (type: str) | |