diff options
| author | Larry Hastings <larry@hastings.org> | 2013-09-09 12:12:21 (GMT) |
|---|---|---|
| committer | Larry Hastings <larry@hastings.org> | 2013-09-09 12:12:21 (GMT) |
| commit | 8568f66daf088cf235a42288621fb4770ac48199 (patch) | |
| tree | 3db459417e7c4b112b03d59661057f09ff058d07 /Lib/_dummy_thread.py | |
| parent | 60560b18d29a917e64d88d47c5533743001f0787 (diff) | |
| parent | 23543ebd8676384c1c5e28f7a1496777a57479d5 (diff) | |
| download | cpython-8568f66daf088cf235a42288621fb4770ac48199.zip cpython-8568f66daf088cf235a42288621fb4770ac48199.tar.gz cpython-8568f66daf088cf235a42288621fb4770ac48199.tar.bz2 | |
Merge.
Diffstat (limited to 'Lib/_dummy_thread.py')
| -rw-r--r-- | Lib/_dummy_thread.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/_dummy_thread.py b/Lib/_dummy_thread.py index 13b1f26..b67cfb9 100644 --- a/Lib/_dummy_thread.py +++ b/Lib/_dummy_thread.py @@ -81,6 +81,10 @@ def stack_size(size=None): raise error("setting thread stack size not supported") return 0 +def _set_sentinel(): + """Dummy implementation of _thread._set_sentinel().""" + return LockType() + class LockType(object): """Class implementing dummy implementation of _thread.LockType. |
