summaryrefslogtreecommitdiff
path: root/ot/externals
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2018-03-21 10:58:20 +0100
committerRémi Flamary <remi.flamary@gmail.com>2018-03-21 10:58:20 +0100
commit69c7d1cb64a5628c69a3c1533991741bcd91f96b (patch)
tree40ff4971561d2c3901cb0a6cb2c49d5644a28efd /ot/externals
parent83c706cb6b1c9eb6ca033c58532b85c13b5d40f2 (diff)
pep8 unused variable
Diffstat (limited to 'ot/externals')
-rw-r--r--ot/externals/funcsigs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/externals/funcsigs.py b/ot/externals/funcsigs.py
index 82a55da..c73fdc9 100644
--- a/ot/externals/funcsigs.py
+++ b/ot/externals/funcsigs.py
@@ -99,7 +99,7 @@ def signature(obj):
partial_keywords = obj.keywords or {}
try:
ba = sig.bind_partial(*partial_args, **partial_keywords)
- except TypeError as ex:
+ except TypeError:
msg = 'partial object {0!r} has incorrect arguments'.format(obj)
raise ValueError(msg)