remove method
Leave feedback
On this page
Removes the specified alias from an AliasDictionary object.
def remove(self, alias):
...
| Parameter | Type | Description |
|---|---|---|
| alias | str |
The alias to remove. |
Returns: bool: True if the alias is successfully found and removed. False if the alias is not found in the AliasDictionary object.
| Raises | Description |
|---|---|
ValueError |
When alias is None. |
These names call remove too, limited to the overloads listed.
| Alias | Accepts |
|---|---|
remove_file |
remove_file(alias) |
remove_string |
remove_string(alias) |
- class
AliasDictionary
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.