fix isinstance call arg order

This commit is contained in:
Jan Petykiewicz 2023-10-07 01:52:53 -07:00 committed by jan
parent 3415a16cd1
commit c4ff53a0ba

View File

@ -609,7 +609,7 @@ class ILibrary(ILibraryView, MutableMapping[str, 'Pattern'], metaclass=ABCMeta):
return {} return {}
if mutate_other: if mutate_other:
if isinstance(Library, other): if isinstance(other, Library):
temp = other temp = other
else: else:
temp = Library(dict(other)) temp = Library(dict(other))