Skip to content

Commit d51f947

Browse files
committed
Update comment to match code
1 parent 2001289 commit d51f947

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/phonenumbers/phonemetadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def register_nongeo_region_loader(kls, country_code, loader):
260260
@classmethod
261261
def load_all(kls):
262262
"""Force immediate load of all metadata"""
263-
# Use .items() not .iteritems() because we would invalidate the iterator
263+
# Force expansion of contents to lists because we invalidate the iterator
264264
for region_code, loader in list(kls._region_available.items()):
265265
if loader is not None: # pragma no cover
266266
loader(region_code)

0 commit comments

Comments
 (0)