mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Code beautification using f-strings (#5618)
This commit is contained in:
parent
988fb28431
commit
136c8e0795
1 changed files with 1 additions and 2 deletions
|
@ -933,8 +933,7 @@ class ChainMap(_collections_abc.MutableMapping):
|
|||
|
||||
@_recursive_repr()
|
||||
def __repr__(self):
|
||||
return '{0.__class__.__name__}({1})'.format(
|
||||
self, ', '.join(map(repr, self.maps)))
|
||||
return f'{self.__class__.__name__}({", ".join(map(repr, self.maps))})'
|
||||
|
||||
@classmethod
|
||||
def fromkeys(cls, iterable, *args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue