From 3a29eff5f868dcfb0a62d2613b8f351e32113e83 Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Wed, 4 Apr 2018 15:21:36 +0200 Subject: [PATCH] release_notes: fix call to super().data `super().data()` leads to a `TypeError` saying that 'ReturnDict' object is not callable. --- docs/topics/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/release-notes.md b/docs/topics/release-notes.md index e38db6061..2fd36083c 100644 --- a/docs/topics/release-notes.md +++ b/docs/topics/release-notes.md @@ -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