summaryrefslogtreecommitdiffstats
path: root/Lib/_dummy_thread.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-04-19 22:26:28 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-04-19 22:26:28 (GMT)
commit2d70e299985e59b626aedec6d803fc051b863f0c (patch)
tree00a56d93d794ffd98b2a79cf5788dbb50d0723af /Lib/_dummy_thread.py
parent754851f456d0b97c86f2d700e032632323840e29 (diff)
downloadcpython-2d70e299985e59b626aedec6d803fc051b863f0c.zip
cpython-2d70e299985e59b626aedec6d803fc051b863f0c.tar.gz
cpython-2d70e299985e59b626aedec6d803fc051b863f0c.tar.bz2
Issue #11223: fix test_dummy_threading, add _dummy_thread.info()
Diffstat (limited to 'Lib/_dummy_thread.py')
-rw-r--r--Lib/_dummy_thread.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/_dummy_thread.py b/Lib/_dummy_thread.py
index 13b1f26..f2465a9 100644
--- a/Lib/_dummy_thread.py
+++ b/Lib/_dummy_thread.py
@@ -149,3 +149,6 @@ def interrupt_main():
else:
global _interrupt
_interrupt = True
+
+def info():
+ return {'name': 'dummy'}