mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Fix lint.
This commit is contained in:
parent
b9274f074d
commit
1f732ea686
1 changed files with 3 additions and 2 deletions
|
|
@ -257,10 +257,11 @@ class Mapping(Readonly):
|
|||
|
||||
def __repr__(self):
|
||||
if self.keytype is str:
|
||||
return '{}(valuetype={!r})'.format(type(self).__name__, self.valuetype)
|
||||
return '{}(valuetype={!r})'.format(
|
||||
type(self).__name__, self.valuetype)
|
||||
else:
|
||||
return '{}(keytype={!r}, valuetype={!r})'.format(
|
||||
type(self).__name__, self.keytype, self.valuetype)
|
||||
type(self).__name__, self.keytype, self.valuetype)
|
||||
|
||||
def __hash__(self):
|
||||
return hash((self.keytype, self.valuetype))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue