module documentation
General purpose utility functions.
Function | error |
Undocumented |
Function | find |
Looks up a class by full name. |
Function | parse |
Parse a str path to a Path object using resolve_path() . |
Function | parse |
Parse string like 'public:match*' to a tuple (PrivacyClass.PUBLIC, 'match*'). |
Function | partialclass |
Bind a class to be created with some predefined __init__ arguments. |
Function | resolve |
Parse a given path string to a Path object. |
Type Variable | T |
Undocumented |
Parse a str path to a Path
object using resolve_path()
.
Watch out, prints a message and SystemExits on error!
Parameters | |
value:str | Undocumented |
opt:str | Undocumented |
Returns | |
Path | Undocumented |
Parse string like 'public:match*' to a tuple (PrivacyClass.PUBLIC, 'match*').
Watch out, prints a message and SystemExits on error!
Parameters | |
value:str | Undocumented |
opt:str | Undocumented |
Returns | |
Tuple[ | Undocumented |
Parse a given path string to a Path
object.
The path is converted to an absolute path, as required by System.setSourceHref()
. The path does not need to exist.
Watch out, prints a message and SystemExits on error!
Parameters | |
path:str | Undocumented |
Returns | |
Path | Undocumented |