From a2c6e30853df648d040c22bc18090c70c019c9e2 Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Thu, 12 Sep 2019 17:06:27 +0200 Subject: [PATCH] Renamed val to value according to other methods naming. --- benedict/utils/utility_util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benedict/utils/utility_util.py b/benedict/utils/utility_util.py index cbc73f6..39db911 100644 --- a/benedict/utils/utility_util.py +++ b/benedict/utils/utility_util.py @@ -47,9 +47,9 @@ def filter(d, predicate): f = {} keys = d.keys() for key in keys: - val = d.get(key, None) - if predicate(key, val): - f[key] = val + value = d.get(key, None) + if predicate(key, value): + f[key] = value return f