Instantly share code, notes, and snippets.

What would you like to do?
python 3.4 vs. 3.5 incompatibility
def fun(a=0, b=0):
print(a, b)
fun(**{'b': 2}, a=1) # <--- breaks in 3.4
fun(a=1, **{'b': 2}) # works in 3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment