Prev: copy some files from IE temporary internet files
Next: urllib2.urlopen taking way too much time
From: Giacomo Boffi on 19 Apr 2010 08:32 i have this code def example(a): return lambda b: a+b+1 fun = example(10) k_1 = fun(7) .... and pylint tells me [...] C: 4: Invalid name "fun" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) C: 5: Invalid name "k_1" (should match (([A-Z_][A-Z0-9_]*)|(__.*__))$) [...] afaict, [A-Z_][A-Z0-9_]* identifiers should be used for constants, and i don't think of fun or k_1 as constants... what's going on? tia, g -- la lenza penzola -- PMF, in IHC
|
Pages: 1 Prev: copy some files from IE temporary internet files Next: urllib2.urlopen taking way too much time |