Furthermore, a symbol name containing non-ASCII symbols is cut off at the first one.
#!/usr/bin/env python3
# encoding: utf-8
def ackermann_péter(m, n):
if m == 0: return n + 1
elif m > 0 and n == 0: return ackermann_péter(m - 1, 1)
elif m > 0 and n > 0: return ackermann_péter(m - 1, ackermann_péter(m, n - 1))
else: raise ValueError("{name}({}, {}) is not defined.").format(__name__, m, n)
acker
with autocomplete on.ackermann_péter (m, n)
gets suggestedackermann_p (m, n)
gets suggested—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.