fix type hint

This commit is contained in:
jan 2022-02-28 23:03:42 -08:00
parent 20be409341
commit f4c2357737

View File

@ -304,7 +304,7 @@ class Library:
del self.secondary[key2]
del self.cache[key2]
def copy(self: L, preserve_cache: bool = False) -> L:
def copy(self, preserve_cache: bool = False) -> 'Library':
"""
Create a copy of this `Library`.