Skip to content

Commit 3f4855b

Browse files
committed
👹 Feed the hobgoblins (delint).
1 parent a9b2594 commit 3f4855b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎importlib_metadata/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def __repr__(self):
339339
Repr with classname and tuple constructor to
340340
signal that we deviate from regular tuple behavior.
341341
"""
342-
return '%s(%r)' % (self.__class__.__name__, tuple(self))
342+
return f'{self.__class__.__name__}({tuple(self)!r})'
343343

344344
def select(self, **params) -> EntryPoints:
345345
"""
@@ -836,7 +836,7 @@ class FastPath:
836836
"""
837837

838838
@_clear_after_fork # type: ignore[misc]
839-
@functools.lru_cache()
839+
@functools.lru_cache
840840
def __new__(cls, root):
841841
return super().__new__(cls)
842842

0 commit comments

Comments
 (0)