ufoym / agpy

Automatically exported from code.google.com/p/agpy
MIT License
1 stars 0 forks source link

readcol problem #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I compile readcol.py, there is always an 'invalid syntax' at  
myreadff = lambda(x): 

Original issue reported on code.google.com by FeynmanU...@gmail.com on 21 Apr 2013 at 5:11

GoogleCodeExporter commented 9 years ago
Thanks for the report.  As far as I can tell, lambda(x): -1 and lambda(x): 
readff(x,fixedformat) are both valid syntax.  What version of python are you 
using?

Original comment by adam.g.ginsburg on 21 Apr 2013 at 5:36

GoogleCodeExporter commented 9 years ago
With that in mind, though, I've changed lambda(x) -> lambda x in the latest 
commit (571), since it appears to be standard.

Original comment by adam.g.ginsburg on 21 Apr 2013 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by keflavich on 21 Apr 2013 at 5:39