diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2018-03-21 10:58:20 +0100 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2018-03-21 10:58:20 +0100 |
commit | 69c7d1cb64a5628c69a3c1533991741bcd91f96b (patch) | |
tree | 40ff4971561d2c3901cb0a6cb2c49d5644a28efd /ot | |
parent | 83c706cb6b1c9eb6ca033c58532b85c13b5d40f2 (diff) |
pep8 unused variable
Diffstat (limited to 'ot')
-rw-r--r-- | ot/externals/funcsigs.py | 2 |
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) |