summaryrefslogtreecommitdiff
path: root/Lib/dummy_thread.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-05-02 19:47:52 +0000
committerGuido van Rossum <guido@python.org>2006-05-02 19:47:52 +0000
commit6207634d9cd1c2239d829f48398d3d395b15d5b4 (patch)
tree6f3a867a99ba9400cc8092b5c3f819a0a7894530 /Lib/dummy_thread.py
parent197ee618506848a8f42a581ddb447c095f29cdaf (diff)
downloadcpython-6207634d9cd1c2239d829f48398d3d395b15d5b4.tar.gz
Get rid of __context__, per the latest changes to PEP 343 and python-dev
discussion. There are two places of documentation that still mention __context__: Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without spending a whole lot of time thinking about it; and whatsnew, which Andrew usually likes to change himself.
Diffstat (limited to 'Lib/dummy_thread.py')
-rw-r--r--Lib/dummy_thread.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/dummy_thread.py b/Lib/dummy_thread.py
index d69d84053d..21fd03f27f 100644
--- a/Lib/dummy_thread.py
+++ b/Lib/dummy_thread.py
@@ -118,9 +118,6 @@ class LockType(object):
def __exit__(self, typ, val, tb):
self.release()
- def __context__(self):
- return self
-
def release(self):
"""Release the dummy lock."""
# XXX Perhaps shouldn't actually bother to test? Could lead