diff options
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 a2cae54b05..0a877e1fa1 100644 --- a/Lib/_dummy_thread.py +++ b/Lib/_dummy_thread.py @@ -71,6 +71,10 @@ def get_ident(): """ return 1 +def get_native_id(): + """Dummy implementation of _thread.get_native_id().""" + return 0 + def allocate_lock(): """Dummy implementation of _thread.allocate_lock().""" return LockType() |