Skip to content

Commit

Permalink
release_notes: fix call to super().data
Browse files Browse the repository at this point in the history
`super().data()` leads to a `TypeError` saying that 'ReturnDict' object
is not callable.
  • Loading branch information
xordoquy authored and Pierre Chiquet committed Mar 24, 2020
1 parent 54806d7 commit e421fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/release-notes.md
Expand Up @@ -74,7 +74,7 @@ You can determine your currently installed version using `pip show`:
"""
Drop `maybe_none` field if None.
"""
data = super().data()
data = super().data
if 'maybe_none' in data and data['maybe_none'] is None:
del data['maybe_none']
return data
Expand Down

0 comments on commit e421fa0

Please sign in to comment.