diff options
Diffstat (limited to 'networkx/algorithms/tournament.py')
-rw-r--r-- | networkx/algorithms/tournament.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networkx/algorithms/tournament.py b/networkx/algorithms/tournament.py index cedd2bc0..bace64ba 100644 --- a/networkx/algorithms/tournament.py +++ b/networkx/algorithms/tournament.py @@ -59,8 +59,8 @@ def index_satisfying(iterable, condition): # exception. try: return i + 1 - except NameError as e: - raise ValueError("iterable must be non-empty") from e + except NameError as err: + raise ValueError("iterable must be non-empty") from err @not_implemented_for("undirected") |