diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-19 22:26:28 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-04-19 22:26:28 (GMT) |
commit | 2d70e299985e59b626aedec6d803fc051b863f0c (patch) | |
tree | 00a56d93d794ffd98b2a79cf5788dbb50d0723af | |
parent | 754851f456d0b97c86f2d700e032632323840e29 (diff) | |
download | cpython-2d70e299985e59b626aedec6d803fc051b863f0c.zip cpython-2d70e299985e59b626aedec6d803fc051b863f0c.tar.gz cpython-2d70e299985e59b626aedec6d803fc051b863f0c.tar.bz2 |
Issue #11223: fix test_dummy_threading, add _dummy_thread.info()
-rw-r--r-- | Lib/_dummy_thread.py | 3 |
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'} |