]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Replace spam.acquire() try: ... finally: spam.release() with "with spam:"
authorGregory P. Smith <greg@mad-scientist.com>
Tue, 22 Jan 2008 01:12:02 +0000 (01:12 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Tue, 22 Jan 2008 01:12:02 +0000 (01:12 +0000)
commit64c5677de4e979d1496d8851dcc27078caa89d40
treeeb1f635d7080441c626be3bb67879da9f8d489b5
parentc64386b595aa8cd68b0a2432744dc3c1ec27917b
Replace spam.acquire() try: ... finally: spam.release() with "with spam:"
Lib/threading.py