summaryrefslogtreecommitdiff
path: root/Lib/_dummy_thread.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-21 12:44:57 +0200
committerGitHub <noreply@github.com>2019-05-21 12:44:57 +0200
commitd12e75734d46ecde588c5de65e6d64146911d20c (patch)
treef2faae7d94731b96d70d2a5cb703b3744faffa0c /Lib/_dummy_thread.py
parent925af1d99b69bf3e229411022ad840c5a0cfdcf8 (diff)
downloadcpython-git-d12e75734d46ecde588c5de65e6d64146911d20c.tar.gz
Revert "bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)" (GH-13458)
This reverts commit 4959c33d2555b89b494c678d99be81a65ee864b0.
Diffstat (limited to 'Lib/_dummy_thread.py')
-rw-r--r--Lib/_dummy_thread.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/_dummy_thread.py b/Lib/_dummy_thread.py
index 0a877e1fa1..a2cae54b05 100644
--- a/Lib/_dummy_thread.py
+++ b/Lib/_dummy_thread.py
@@ -71,10 +71,6 @@ 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()