j
k
j a
j l
On Oct 1, 2011, at 8:29 PM, Ron Adam wrote:
How about a name space literal? ie.. a dictionary. def global_counter(x) {n:0, lock=lock}: with lock: n += 1 yield n
How about a name space literal? ie.. a dictionary.
def global_counter(x) {n:0, lock=lock}: with lock: n += 1 yield n
Yeah, but it would break this existing code: from __future__ import braces
Back to the thread
Back to the list