4 ms·
My favorite quirk was deprecated. Python 2.x def function(a, (b, c)): # pattern extract matches a strictly two-elements Python 3.x def function(a, b_c):
by probinso 10y ago
My favorite quirk was deprecated.
Python 2.x
def function(a, (b, c)):
# pattern extract matches a strictly two-elements
Python 3.x
def function(a, b_c):
# not as clean, nor as expressive