Commit fd01a997 authored by Jeroen F.J. Laros's avatar Jeroen F.J. Laros

PEP8.

parent 983c8a8a
......@@ -55,7 +55,7 @@ def _hamming(path, node, word, distance):
car, cdr = word[0], word[1:]
for char in node:
for result in _hamming(
path + char, node[char], cdr, distance - int(char != car)):
path + char, node[char], cdr, distance - int(char != car)):
yield result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment