summaryrefslogtreecommitdiffstats
path: root/Lib/email
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/email')
-rw-r--r--Lib/email/headerregistry.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/headerregistry.py b/Lib/email/headerregistry.py
index 0fc2231..81fee14 100644
--- a/Lib/email/headerregistry.py
+++ b/Lib/email/headerregistry.py
@@ -369,8 +369,8 @@ class AddressHeader:
@property
def addresses(self):
if self._addresses is None:
- self._addresses = tuple([address for group in self._groups
- for address in group.addresses])
+ self._addresses = tuple(address for group in self._groups
+ for address in group.addresses)
return self._addresses