Skip to content

Commit

Permalink
Fix docstring for pure-Python .get()
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Jan 24, 2022
1 parent fe3534c commit 2f4af01
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions multidict/_multidict_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ def __getitem__(self, key):
return self.getone(key)

def get(self, key, default=None):
"""Get first value matching the key.
The method is alias for .getone().
"""
"""Get first value matching the key."""
return self.getone(key, default)

def __iter__(self):
Expand Down

0 comments on commit 2f4af01

Please sign in to comment.