diff options
author | Larry Hastings <larry@hastings.org> | 2015-09-07 12:16:38 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-09-07 12:16:38 (GMT) |
commit | c8c47f55e636ed86791160944ccbb1ea651476bd (patch) | |
tree | db97b6edb082a98c6ad2abcbacb6151ee2df2049 /Lib/functools.py | |
parent | 71f9633818b3a0cbd36b0f6ed164d436b1997fe9 (diff) | |
parent | 8c85a2083fdc6188d32f1eb287151cdb7e79a54a (diff) | |
download | cpython-c8c47f55e636ed86791160944ccbb1ea651476bd.zip cpython-c8c47f55e636ed86791160944ccbb1ea651476bd.tar.gz cpython-c8c47f55e636ed86791160944ccbb1ea651476bd.tar.bz2 |
Merge heads.
Diffstat (limited to 'Lib/functools.py')
-rw-r--r-- | Lib/functools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/functools.py b/Lib/functools.py index 09df068..06a4ff1 100644 --- a/Lib/functools.py +++ b/Lib/functools.py @@ -567,7 +567,7 @@ def _c3_merge(sequences): break # reject the current head, it appears later else: break - if not candidate: + if candidate is None: raise RuntimeError("Inconsistent hierarchy") result.append(candidate) # remove the chosen candidate |