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?