[ILibrary] update docs for add()

This commit is contained in:
Jan Petykiewicz 2026-04-01 20:00:46 -07:00
commit 7c50f95fde
2 changed files with 14 additions and 2 deletions

View file

@ -923,8 +923,8 @@ class ILibrary(ILibraryView, MutableMapping[str, 'Pattern'], metaclass=ABCMeta):
(default).
Returns:
A mapping of `{old_name: new_name}` for all `old_name`s in `other`. Unchanged
names map to themselves.
A mapping of `{old_name: new_name}` for all names in `other` which were
renamed while being added. Unchanged names are omitted.
Raises:
`LibraryError` if a duplicate name is encountered even after applying `rename_theirs()`.