Aug-15-2018, 11:14 PM
def foo(*varargs,bar=256): ... ... return barthis is OK in Python3 but not in Python2. apparently, Python2 requires something else, like:
def foo(*varargs,**options): ... bar=256 if 'bar' in options: bar=options['bar'] ... return barhow did i miss that?
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.