Skip to content

Commit 64ddf92

Browse files
committed
use yield from
1 parent e638447 commit 64ddf92

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cryptojwt/key_issuer.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,7 @@ def key_summary(self) -> str:
443443
return ", ".join(key_list)
444444

445445
def __iter__(self):
446-
for bundle in self._bundles:
447-
yield bundle
446+
yield from self._bundles
448447

449448
def __eq__(self, other):
450449
if not isinstance(other, self.__class__):

0 commit comments

Comments
 (0)